Checking if port is in use.

Alex Polite m4 at polite.se
Sat Mar 19 10:32:52 EST 2005


On lör, mar 19, 2005 at 10:12:10 -0500, Peter Hansen wrote:
> Alex Polite wrote:
> 
> You could, for example, bind to a port of "0" and that will
> auto-assign an available port for you.  Does that work
> in your case?  If not, please describe what you are really
> trying to accomplish.

I'm launching another server (non python) from python and I have to
designate which port that server should bind to.

alex

-- 
Alex Polite
http://flosspick.org



More information about the Python-list mailing list