C# TCP First Message Delay
greetings,
i am writng a socket program using sockets in c# (asynchronous).
the issue is, when a client connects to the server it kinda happens quiet fast. then..
when the first message is sent there is a delay in responding.
this only happens to the very first data being sent over the connection. and boh client and server suffers from this b开发者_开发技巧ehaviour.
what is this delay? is there a way to get rid of this?
many thanks.
i solved the issue by doing a handshake between the nodes. its more of a hack than a solution.
精彩评论