开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜