Socket.Connect() Timeout, please help

  • Thread starter Thread starter Ted Burhan
  • Start date Start date
T

Ted Burhan

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
 
If the TCPClient Class can do what you're looking for, it has a
ReceiveTimeout and a SendTimeout property.

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top