This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: add SO_EXCLUSIVEADDRUSE constant in socketmodule.c
Type: Stage:
Components: Interpreter Core Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: akuchling Nosy List: akuchling, garth42
Priority: normal Keywords: patch

Created on 2004-06-30 10:54 by garth42, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
socketmodule.c.patch garth42, 2004-06-30 10:55 socketmodule.c Patch
Messages (3)
msg46277 - (view) Author: Garth Bushell (garth42) Date: 2004-06-30 10:54
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 

msg46278 - (view) Author: Garth Bushell (garth42) Date: 2004-06-30 10:55
Logged In: YES 
user_id=45280

There's no uploaded file!  You have to check the
checkbox labeled "Check to Upload & Attach File"
when you upload a file. In addition, even if you
*did* check this checkbox, a bug in SourceForge
prevents attaching a file when *creating* an issue.

Please try again.

(This is a SourceForge annoyance that we can do
nothing about. :-( )
msg46279 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2004-07-10 14:18
Logged In: YES 
user_id=11375

Seems reasonable; checked into CVS HEAD.  Thanks!
History
Date User Action Args
2022-04-11 14:56:05adminsetgithub: 40481
2004-06-30 10:54:38garth42create