|
|
发表于 2006-4-9 14:08:25
|
显示全部楼层
|
one packet for one call, if you use raw socket(also called packet), you will get the whole packet stored in the recvBuf. if you create tcp/udp socket, then the recvBuf will get data which follows the tcp/udp header(so you cannot find the ip information in this buffer), recvaddr is useful here to tell you the ip information about the remote host |
|