Results 1 to 3 of 3

Thread: Socket Timeout?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    Palermo, Italy
    Posts
    325

    Socket Timeout?

    How to make greater the timeout value of a socket?
    My socks give me error after only few milliseconds......... Too little for internet, isn't it?

    Thanks,
    Xmas79
    Learn, this is the Keyword...

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Socket.SocketOption
    VB Code:
    1. 'Send operations will timeout of confirmation is not received within 1000 milliseconds.
    2. s.SetSocketOption(SocketOptionLevel.Tcp, SocketOptionName.SendTimeout, 1000)

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    Palermo, Italy
    Posts
    325
    Yes, I found it in the MSDN, but it says me "unknown level or option"...

    What's wrong?
    Thx
    Learn, this is the Keyword...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width