Revision: 8773 http://warzone2100.svn.sourceforge.net/warzone2100/?rev=8773&view=rev Author: muggenhor Date: 2009-12-20 21:21:22 +0000 (Sun, 20 Dec 2009)
Log Message: ----------- Backport r8769 and r8772 from trunk into the 2.3 branch: r8769: Be more resiliant in the case of dangling pointers to a Socket r8772: Check for socket errors and handle them: * Close a socket when an error occurs on it * Store the return values of send() and recv() in `ssize_t` instead of `int` - Prevents truncation of values as ssize_t is the return type specified by POSIX to use This should prevent us from ever getting hit with SIGPIPE again. SIGPIPE is transmitted when we try to write to a connection we've previously been told has closed. Modified Paths: -------------- branches/2.3/lib/netplay/netplay.c Property Changed: ---------------- branches/2.3/ branches/2.3/data/mods/multiplay/original/ branches/2.3/src/frontend.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Warzone2100-commits mailing list Warzone2100-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/warzone2100-commits