> The patch produced this error when compiling:
>   blcksock.pas(1866,74)Error: Identifier not found "SO_NOSIGPIPE"
> 

>From socket.h for OSX (https://gist.github.com/3490843)

Const 
  SO_NOSIGPIPE=$1022;


> anyway, you are right about properly addressing the issue 
> instead of ignoring it.
> 
> I implemented your signal handler to discover that there is a 
> problem in my code with rapidly trying to reconnect. I will 
> try to handle the missing SIGPIPE in my code as you suggested.
> 
> Thanks.
>

Using SO_NOSIGPIPE is not equivalent to ignoring the error. The send will
return an error instead of generating a signal. Synapse will intercept the
error and deal with it as any other error.

Ludo 


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to