From the docs of SendTimeout option:
"Send a time-out. This option applies only to synchronous methods; it has no
effect on asynchronous methods such as the BeginSend method".
Do you know why server doesn't receive data?
--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com
"Franky" <Fr****@discussions.microsoft.com> wrote in message
news:4B**********************************@microsof t.com...
Hello,
How can I set timeout on the send for an asynchronous socket? I use the
setsocketoption's timeout but it does not seem work. The program is
blocked
at the socket's EndSend step until the remote side closes the connection.
Thanks in advance,
Franky