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

Method setsockopt

Lib/test/mock_socket.py:68–69  ·  view source on GitHub ↗
(self, level, optname, value)

Source from the content-addressed store, hash-verified

66 return self.timeout
67
68 def setsockopt(self, level, optname, value):
69 pass
70
71 def getsockopt(self, level, optname, buflen=None):
72 return 0

Callers 15

has_dualstack_ipv6Function · 0.45
create_serverFunction · 0.45
server_bindMethod · 0.45
setupMethod · 0.45
connectMethod · 0.45
server_bindMethod · 0.45
testSetSockOptMethod · 0.45
testLoopbackMethod · 0.45
testFilterMethod · 0.45
testSocketBufferSizeMethod · 0.45
testSocketBufferSizeMethod · 0.45

Calls

no outgoing calls

Tested by 15

testSetSockOptMethod · 0.36
testLoopbackMethod · 0.36
testFilterMethod · 0.36
testSocketBufferSizeMethod · 0.36
testSocketBufferSizeMethod · 0.36
checkHopLimitMethod · 0.36