[Gambas-user] [Gambas Bug Tracker] Bug #1246: Segmentation Fault STREAM_write - gbr3

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Tue Mar 6 22:39:41 CET 2018


http://gambaswiki.org/bugtracker/edit?object=BUG.1246&from=L21haW4-

Comment #22 by Olivier CRUILLES:

I whish to prevent the 'Socket broken Pipe' and be sure that the socket is not close on server side before I write on it, so as I can read on Internet, exist some options to help this case.
Could you take a look at this page on Internet and see if you can add available options on Gambas side regarding that for example or other:

To ignore the SIGPIPE signal, use the following code:
signal(SIGPIPE, SIG_IGN);

Related page:

https://stackoverflow.com/questions/108183/how-to-prevent-sigpipes-or-handle-them-properly

Thank you
Olivier




More information about the User mailing list