Menu

TcpClient.Connect taking 5 seconds

Help
Anonymous
2003-10-12
2003-12-09
  • Anonymous

    Anonymous - 2003-10-12

    I have noticed that messages were taking about five seconds each to send to a remote SMTP server (but on my local LAN).  After stepping through the code, it appears that the TcpClient.Connect is the bottleneck.  I have tried it on different client machines and different servers on different networks.  All seem to demonstrate the delay.

    Is there a configuration setting that I may need to adjust, or is this expected behavior of the TcpClient?

    Thank you for your help!
    Jim

     
    • Ian Stallings

      Ian Stallings - 2003-12-09

      The TcpClient will connect as fast as possible. It may be a delay on your network. If you find a specific piece of code that is hindering the connection please let us know.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.