MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / create_connection

Function create_connection

Lib/socket.py:537–573  ·  view source on GitHub ↗

Connect to *address* and return the socket object. Convenience function. Connect to *address* (a 2-tuple ``(host, port)``) and return the socket object. Passing the optional *timeout* parameter will set the timeout on the socket instance before attempting to connect. If no *timeo

(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
                      source_address=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

getaddrinfoFunction · 0.85
errorClass · 0.70
bindMethod · 0.45
connectMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected