MCPcopy Index your code
hub / github.com/RustPython/RustPython / connect_ex

Method connect_ex

Lib/ssl.py:1407–1410  ·  view source on GitHub ↗

Connects to remote ADDR, and then wraps the connection in an SSL channel.

(self, addr)

Source from the content-addressed store, hash-verified

1405 self._real_connect(addr, False)
1406
1407 def connect_ex(self, addr):
1408 """Connects to remote ADDR, and then wraps the connection in
1409 an SSL channel."""
1410 return self._real_connect(addr, True)
1411
1412 def accept(self):
1413 """Accepts a new connection from a remote client, and returns

Callers 6

_real_connectMethod · 0.45
test_connect_ex_errorMethod · 0.45
test_connect_exMethod · 0.45
connectMethod · 0.45

Calls 1

_real_connectMethod · 0.95

Tested by 4

test_connect_ex_errorMethod · 0.36
test_connect_exMethod · 0.36