How to set the socket type and the protocol of a socket using create_connection?

Guillaume Comte guillaume.comte10 at gmail.com
Wed Aug 22 05:21:39 EDT 2012


Le mercredi 22 août 2012 11:03:11 UTC+2, Hans Mulder a écrit :

> 
> On my laptop, 0 appears to be the only port number that bind accepts
> 
> for a raw socket.  Other numbers I tried all raise "socket.error:
> 
> [Errno 49] Can't assign requested address".
> 
> 
> 
> But this might depend on your OS.  What OS are you using?
> 

I'm using FreeBSD 7.3



More information about the Python-list mailing list