Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ recipe-577278.py
File
recipe-577278.py
recipes/Python/577278_receive_UDP_broadcasts/recipe-577278.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
select, socket
2
3
port = 53005
# where do you expect to get a msg?
4
bufferSize = 1024
# whatever you need
Callers
nothing calls this directly
Calls
5
socket
Method · 0.80
bind
Method · 0.45
setblocking
Method · 0.45
select
Method · 0.45
recv
Method · 0.45
Tested by
no test coverage detected