Re: TCP socket closing from client



On Thu, Apr 10, 2003 at 06:32:19PM -0700, Shiraz Baig wrote: 
> If I do not use GTK, this problem does not arise.

Just a coincidence. If you write to a closed socket, you can always
get SIGPIPE. You need to set the SIGPIPE action to SIG_IGN and then 
you will get EPIPE instead.

Havoc



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