Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ bind
Method
bind
recipes/Python/578348_WebSocket_interface/recipe-578348.py:112–113 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
110
self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
111
112
def
bind(self, data):
113
self.socket.bind(data)
114
115
def
listen(self, conns):
116
self.socket.listen(conns * 5)
Callers
15
__init__
Method · 0.45
__init__
Method · 0.45
changed
Method · 0.45
create_server_sock
Function · 0.45
test_has_dual_stack
Method · 0.45
create_bindings
Method · 0.45
bind_right_click
Method · 0.45
recipe-578928.py
File · 0.45
recipe-578026.py
File · 0.45
__init__
Method · 0.45
run
Method · 0.45
setup_widgets
Method · 0.45
Calls
no outgoing calls
Tested by
1
test_has_dual_stack
Method · 0.36