how to get any available port

Fredrik Lundh fredrik at pythonware.com
Tue Oct 4 14:42:18 EDT 2005


Mohammed Smadi wrote:

> if am using s.bind for a tcp socket.  On the client side i dont really
> care which socket i use as long as i get an available socket.  Is there a
> funciton or a way to get an available socket?

why are you using bind if you're on the client side?

</F> 






More information about the Python-list mailing list