|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Alexander John Batyi discourseth:
> Please forgive me for the nonlinux specific post. (please please please)
>
> How does one know a client socket has dropped off in C++. Write to it and
> catch the "broken pipe" exception?
I prefer to ignore SIGPIPEs and notice the error return and EPIPE
errno during i/o operations. However, I second that you should see
_Unix Network Programming_ (2nd ed., vol 1).
Eric
_______________________________________________
Plug maillist - Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug
|
|