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

Method getsockopt

Lib/test/support/asyncore.py:622–628  ·  view source on GitHub ↗
(self, level, optname, buflen=None)

Source from the content-addressed store, hash-verified

620 return os.write(self.fd, *args)
621
622 def getsockopt(self, level, optname, buflen=None):
623 if (level == socket.SOL_SOCKET and
624 optname == socket.SO_ERROR and
625 not buflen):
626 return 0
627 raise NotImplementedError("Only asyncore specific behaviour "
628 "implemented.")
629
630 read = recv
631 write = send

Callers 8

test_abort_clientsMethod · 0.45
check_set_nodelayMethod · 0.45
bind_portFunction · 0.45
set_reuse_addrMethod · 0.45
handle_connect_eventMethod · 0.45
handle_expt_eventMethod · 0.45

Calls

no outgoing calls