You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2017. It is now read-only.
The blocking sequence of commands are:
s = socket.socket()
s.bind(local_address)
s.connect(remote_address)
...
The current api create_connection() does not provide the ability to provide a
'local' address to bind to. Bind must be called between socket.socket() and
sock.connect(), so it is appropriate to have it inside the create_connection()
call or document clearly that create_connection(sock=sock) is preferred for
anything like this.
Original issue reported on code.google.com by step...@thorne.id.au on 20 Mar 2013 at 12:48