Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ 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_ipv6
Function · 0.45
create_server
Function · 0.45
server_bind
Method · 0.45
setup
Method · 0.45
connect
Method · 0.45
server_bind
Method · 0.45
_run_with_sync
Function · 0.45
_create_server_socket
Function · 0.45
set_socket_so_linger_on_with_zero_timeout
Function · 0.45
testSetSockOpt
Method · 0.45
test_setsockopt_errors
Method · 0.45
testLoopback
Method · 0.45
Calls
no outgoing calls
Tested by
15
_create_server_socket
Function · 0.36
set_socket_so_linger_on_with_zero_timeout
Function · 0.36
testSetSockOpt
Method · 0.36
test_setsockopt_errors
Method · 0.36
testLoopback
Method · 0.36
testFilter
Method · 0.36
testSocketBufferSize
Method · 0.36
testSocketBufferSize
Method · 0.36
checkHopLimit
Method · 0.36
checkTrafficClassAndHopLimit
Method · 0.36
checkHopLimitTruncatedHeader
Method · 0.36
testSingleCmsgTruncInData
Method · 0.36