Re: [Plug] sockets

est on 1999年8月16日 16:58:45 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [Plug] sockets


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



AltStyle によって変換されたページ (->オリジナル) /