Re: Timeout Connection.

Giganews Newsgroups
Subject: Re: Timeout Connection.
Posted by:  Remy Lebeau (TeamB) (
Date: Wed, 21 Jan 2004

"Sebastien Dolard" <> wrote in message

> 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.



In response to

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