By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,058 Members | 1,209 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,058 IT Pros & Developers. It's quick & easy.

Socket.Connect() Timeout, please help

P: n/a
I was wondering if there is a way to adjust the timeout period when doing
Socket.Connect()
I have been looking at the docs, found nothing
Nov 15 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
If the TCPClient Class can do what you're looking for, it has a
ReceiveTimeout and a SendTimeout property.

Jacob
"Ted Burhan" <tb*****@nospam.com.au> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I was wondering if there is a way to adjust the timeout period when doing
Socket.Connect()
I have been looking at the docs, found nothing

Nov 15 '05 #2

P: n/a
Jacob,

What I'm looking for is a Connect() timeout , not send or receive.
I guess I could achieve that using Asynchronous BeginConnect and EndConnect.
Thanks anyway for your reply.
"Jacob" <ja**********@hotmail.com> wrote in message
news:yutEb.8460$7D3.4517@fed1read02...
If the TCPClient Class can do what you're looking for, it has a
ReceiveTimeout and a SendTimeout property.

Jacob
"Ted Burhan" <tb*****@nospam.com.au> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I was wondering if there is a way to adjust the timeout period when doing Socket.Connect()
I have been looking at the docs, found nothing


Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.