Hans,

> Unfortunately, Windows is not a respectable OS. Unlike Unix, it allows two 
> processes to bind to the same port. The theory is that this somehow allows 
> the two processes to share their workload. One thing the OP can portably do, 
> is try to connect() to the port. If that succeeds, then a server program is 
> already running at that port, so he should exit.

Thank you for your tip - spot on!

Best regards,
Malcolm (OP for this thread)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to