Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ recipe-52218.py
File
recipe-52218.py
recipes/Python/52218_Message_Passing_Socket/recipe-52218.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# server.py
2
import
socket
3
port = 8081
4
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
Callers
nothing calls this directly
Calls
4
socket
Method · 0.80
bind
Method · 0.45
recvfrom
Method · 0.45
sendto
Method · 0.45
Tested by
no test coverage detected