Antoine Pitrou <[email protected]> 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 <[email protected]>
<http://bugs.python.org/issue8576>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com