Thanks for the info on EPIPE.  When the EPIPE occurs during socket send()
or send_file(), the PPP connection remains alive, and I can simply
reestablish another socket.

Yet sometimes the underlying PPP connection drops during a socket send() or
send_file(), and my program waits infinitely on the send() or send_file().
No EPIPE or any signal occurs.  When this PPP disconnection happens, how
can I get a signal interrupt into the send() or send_file(), so the program
can take corrective measures?

By the way I have select() before send(), but that makes no difference.
The program passes through select() okay, yet still waits infinitely in
send() if the PPP connection drops during send().

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].