Note the use of ACE_INET_Addr in the recv method: This helps capture the peer computer from which the data was being transmitted.
注意recv方法中对ACE_INET_Addr的使用方法:这有助于捕捉正在传输数据的对等计算机。
2
For processes 1 and 2, the recv function is blocking, which means that the program will wait until it receives a message with tag ID 9 from process 0.
对于进程1和2,recv函数被阻塞,这意味着程序会等待,直到从进程0收到标签id为9的消息。
3
While recv (a library function used by the process), recvfrom, and recvmsg operate only on socket descriptor, read and readv can operate on any kind of descriptor.