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