Home > Back-end >  Linux socket data read
Linux socket data read

Time:03-16

Socket can be directly send array, here I am know and know how to use the send
Recv arrays, and USES memcpy reduction,
Int a [100] sent in the past, but receives the recv receiving data, the problem of incomplete?
Doing so will not appear, char array is received according to how much their string receiving cycle? An array of how to deal with? The same way? There are other methods, the best is an example

CodePudding user response:

Don't know how many predecessors in the TCP Socket
Send (many) send (less) send (wealth)
Has been so much illness recv (), recv (wealth)
Inside the trap!
http://bbs.csdn.net/topics/380167545
  • Related