[Patches] [ python-Patches-982665 ] add SO_EXCLUSIVEADDRUSE constant in socketmodule.c

SourceForge.net noreply at sourceforge.net
Wed Jun 30 06:54:38 EDT 2004


Patches item #982665, was opened at 2004-06-30 10:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=982665&group_id=5470

Category: Core (C code)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Garth Bushell (garth42)
Assigned to: Nobody/Anonymous (nobody)
Summary: add SO_EXCLUSIVEADDRUSE constant in socketmodule.c

Initial Comment:
SO_REUSEADDR is has different meaning on windows to
most socket implementations. It alows multiple programs
to bind to the same address/port. 

This can cause very wierd bugs if two programs are used
at the same time. (see
http://www.itamarst.org/writings/win32sockets.html)

Adding SO_EXCLUSIVEADDRUSE constant allows windows
programmers to have the same semantics as unix 



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=982665&group_id=5470



More information about the Patches mailing list