MCPcopy
hub / github.com/aio-libs/aiohttp / sock_connect

Function sock_connect

tests/test_connector.py:931–939  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

929 connected = False
930
931 async def sock_connect(*args, **kwargs):
932 addr = args[1]
933 nonlocal os_error
934
935 addrs_tried.append(addr)
936
937 if addr[0] == ip1:
938 os_error = True
939 raise OSError
940
941 async def create_connection(*args, **kwargs):
942 sock: socket.socket = kwargs["sock"]

Callers

nothing calls this directly

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…