What's the read logic when I call recvfrom() function in C/C++

前端 未结 0 1567
没有蜡笔的小新
没有蜡笔的小新 2020-12-13 03:27

I wrote a C++ program to create a socket and bind on this socket to receive ICMP/UDP packets. The code I wrote as following:

while(true){
   recvfrom(sockId,          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题