On Wednesday 01 August 2001 07:53, Ilya Teterin wrote: > > The real reason of termination: program receives SIGPIPE on send(). > Select() says that socket is writeable alredy. Removing fcntl will resolve > problem. Any ideas? > You can avoid that (iirc) by passing a special parameter to one of the socket-related calls. It then just returns something <0 on failure. RTfineM. uli