Antoine Pitrou <pit...@free.fr> added the comment:

Roundup ate my code. I meant:

>>> s = socket.create_connection(("python.org", 80), 
>>> source_address=("192.168.0.2", 0))
>>> s.getsockname()
('192.168.0.2', 40496)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8576>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to