dotnet / WatsonTcp

WatsonTcp is the easiest way to build TCP-based clients and servers in C#.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connect timeout limit

0x100001 opened this issue · comments

Hey there,

I got a question. In rare situations it takes up to ten seconds to connect to a server socket and because of that it results in a timeout exception. Is there a way to increase the timeout limit?

Error: Timeout connecting to WIN-Q6JGERFITLF:7000
(tested the socket using a portscan. It just takes a while to connect to the system itself in rare cases)

Thank you!

Hi @0x100001 I'm assuming (hoping) you found the Settings.ConnectTimeoutSeconds property on the client :) Cheers!

Hey @jchristn yes I found out. Somehow I didn't see it on first look. 👀

Thank you!