From kde-devel Thu Aug 19 15:40:40 1999 From: Jo Dillon Date: Thu, 19 Aug 1999 15:40:40 +0000 To: kde-devel Subject: Re: KSocket Broken Pipe in KDE 1.x X-MARC-Message: https://marc.info/?l=kde-devel&m=93507646706352 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