Home > other >  TCP packet transmission
TCP packet transmission

Time:09-23

Air has a packet, the other party to use the Internet TCP protocol, transmission to come over to me, need to receive data in real time, check, and then, according to another agreement the message is stored in the database?

Each other, please transfer to come over, I use the socket specific how to receive? There is also the question of checking,

CodePudding user response:

Socket function is simple, baidu slightly, pay attention to the recv to judge the return value, finished confirm to receive the package to save again
  • Related