MCPcopy Index your code
hub / github.com/python/cpython / handle_connect_event

Method handle_connect_event

Lib/test/support/asyncore.py:428–434  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

426 self.handle_read()
427
428 def handle_connect_event(self):
429 err = self.socket.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR)
430 if err != 0:
431 raise OSError(err, _strerror(err))
432 self.handle_connect()
433 self.connected = True
434 self.connecting = False
435
436 def handle_write_event(self):
437 if self.accepting:

Callers 3

connectMethod · 0.95
handle_read_eventMethod · 0.95
handle_write_eventMethod · 0.95

Calls 3

handle_connectMethod · 0.95
_strerrorFunction · 0.85
getsockoptMethod · 0.45

Tested by

no test coverage detected