[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KSocket Broken Pipe in KDE 1.x
From:       Jo Dillon <emily () thelonious ! new ! ox ! ac ! uk>
Date:       1999-08-19 15:40:40
[Download RAW message or body]

Herwin Jan Steehouwer (herwinjs@palet.nl) spake thusly:
> Hi,
> 
> I'm the author of KXicq and i use KSocket for the TCP connection between
> clients.
> 
> Sometimes when i want to send something to a person it gets a error in the
> console: Broken Pipe and KXicq stops..
> 
> how can i catch that error without KXicq stops ?

  Install a Unix signal handler for SIGPIPE. The problem is that
whatever's listening to that socket has stopped listening to it,
but you're still writing to it.

-- 

	Jo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic