Skip to content

Commit 1a424a9

Browse files
committed
fix recieving byte size
1 parent fcd3249 commit 1a424a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

udp-client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
client.sendto(b"AAAABBBBCCCC", (target_host, target_port))
1313

1414
# receive data from the server and deconstruct the data and address received
15-
data, addr = client.recvfrom(4906)
15+
data, addr = client.recvfrom(4096)
1616

1717
print(data.decode(), addr)
1818

0 commit comments

Comments
 (0)