Thursday, 15 January 2015

Unix TCP recv(), and C# -



Unix TCP recv(), and C# -

i new unix, , need help recv() used in tcp code. can see 2 recv() used receive response server, 1 after different string length (call them 10 , 20).

questions: mean response server 2 strings of 10 , 20 because 2 recv() used? or mean server respond using 2 tcp strings of 10 , 20 consecutively?

i read somewhere tcp layer not know delimiter of application protocol is, header must inserted server delimiter. reason using 2 recv()? if case, mean recv() can utilize section out tcp response string?

does sectioning applies c#? or c# receive whole string , have split it? moment, talking tcpclient.read().

thanks.

c# unix tcp tcpclient recv

No comments:

Post a Comment