Path: utzoo!attcan!uunet!wuarchive!rex!uflorida!mephisto!ncsuvx!news From: rcb@ccpv1.ncsu.edu (Randy Buckland) Newsgroups: comp.unix.questions Subject: ICMP echo packet Message-ID: <1990Mar19.135506.11110@ncsuvx.ncsu.edu> Date: 19 Mar 90 13:55:06 GMT Sender: news@ncsuvx.ncsu.edu (USENET News System) Distribution: comp Organization: NCSU Computing Center Lines: 12 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