trent nelson ktctpxaonresolvecom giampaolo rodola wrote maybe would better considering windows ce systems osname nt osname nt ce cygwin dont know unixlike yeah thats fair point behaviour underlying winsock api targeting would apply cygwin well ce anything else windows including jython ironpython exhibit undesirable behaviour windows so_reuseaddr set tcpip socket updated patch assuming objections id like clean commit weekend ive updated various parts stdlib currently using so_reuseaddr well affected documentation index socketpy socketpy revision 62509 socketpy working copy 1438 14318 sendall setblocking settimeout gettimeout shutdown attempt determine running windows irrespective python incarnation need know dont set so_reuseaddr tcpip sockets sockettry_reuse_addr note ironpython covered sets osname nt osname nt _socketmethods _socketmethods ioctl _is_windows true elif osname java javalang import system _is_windows windows systemgetpropertyosnamelower elif osname posix sysplatform cygwin _is_windows true sysplatform riscos _socketmethods _socketmethods sleeptaskw 1976 20713 return new socket object connected system resource return _socketobject_sockself_sock def try_reuse_addressself _is_windows self_socktype sock_dgram try self_socksetsockoptsol_socket so_reuseaddr 1 except socketerror pass def makefileself moder bufsize1 makefilemode bufsize file object trent _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom thu 07 aug 2008 220101 0700 pythondev sockettry_reuse_address