rcb@ccpv1.ncsu.edu (Randy Buckland) (03/19/90)
I am trying to write some code that will do the equivalent of a ping. It is sending an icmp echo packet to a given address and waiting for the return. I have source and looked at the source for ping to get this working and using a network monitor, I can see that the packet is going out and the response coming back. However, the "sendto" call that sends the packet is returning -1 and the errno variable has the value EINTR. What does EINTR mean in this case? The packet is being sent corectly. Why is the system call being interrupted? Randy Buckland rcb@ncsuvx.ncsu.edu
rcb@ccpv1.ncsu.edu (Randy Buckland) (03/20/90)
Ignore previous posting about ICMP echo packets. I was getting the return code wrong and the errno contained a previous value that I interpreted as the error from the sendto call Randy Buckland rcb@ncsuvx.ncsu.edu