Re: SIGPIPE crash when writing to closed socket port

Sven Hartrumpf <[email protected]>
Newsgroups gmane.lisp.scheme.bigloo
Message-ID <[email protected]>
Hi.

MS:
> SIGPIPE is a signal, not an error code. Hence, you should rather install
> a signal handler for catching it. Try something as:
> 
>   (signal sigpipe (lambda (n) (print "GOT IT")))

This works perfectly.
Thanks for your help, Manuel!

Ciao
Sven
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.