|
From: Ian P. <piu...@us...> - 2004-04-02 01:10:36
|
Update of /cvsroot/squeak/squeak/platforms/unix/plugins/SocketPlugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22429 Modified Files: sqUnixSocket.c Log Message: Don't check for peer disconnect in sqSocketConnectionStatus(). Index: sqUnixSocket.c =================================================================== RCS file: /cvsroot/squeak/squeak/platforms/unix/plugins/SocketPlugin/sqUnixSocket.c,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** sqUnixSocket.c 16 Sep 2003 07:56:51 -0000 1.12 --- sqUnixSocket.c 2 Apr 2004 00:58:33 -0000 1.13 *************** *** 37,41 **** /* Author: Ian...@in... * ! * Last edited: 2003-09-12 21:05:50 by piumarta on emilia.inria.fr * * Support for BSD-style "accept" primitives contributed by: --- 37,41 ---- /* Author: Ian...@in... * ! * Last edited: 2003-09-16 20:06:06 by piumarta on emilia.inria.fr * * Support for BSD-style "accept" primitives contributed by: *************** *** 590,593 **** --- 590,594 ---- return Invalid; } + #if 0 /* check for connection closed by peer */ if (SOCKETSTATE(s) == Connected) *************** *** 601,604 **** --- 602,606 ---- } } + #endif FPRINTF((stderr, "socketStatus(%d) -> %d\n", SOCKET(s), SOCKETSTATE(s))); return SOCKETSTATE(s); |