Checking if port is in use.

Alex Polite m4 at polite.se
Sat Mar 19 09:54:44 EST 2005


If I try to bind a socket to a port that's already in use I get this
error

"error socket.error: (98, 'Address already in use')"

Is there anyway to check in advance if a port i already taken?

alex

-- 
Alex Polite
http://flosspick.org



More information about the Python-list mailing list