Re: Timeout Connection.

Giganews Newsgroups
Subject: Re: Timeout Connection.
Posted by:  Remy Lebeau (TeamB) (gambit47.no.spam@no.spam.yahoo.com)
Date: Wed, 21 Jan 2004

"Sebastien Dolard" <seb@nospam.org> wrote in message
news:68FC8652EC8EE240seb@nospam.org...

> How to modify this parameters during an already connection ?
> I want to cancel a connection on a timeout but i dont't how to
> do it as clean as possible.

The Connect() method has a Timeout parameter, simply specify the number of
milliseconds you want to wait for, and if the connection is not established
before the timeout elapses then the connection is aborted automatically.

Or are you referring to something else?  Please clearify.

Gambit

Replies

In response to

Timeout Connection. posted by Sebastien Dolard on Wed, 21 Jan 2004