2023-02-14 23:23:35 +00:00
|
|
|
import socket
|
|
|
|
|
|
|
|
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
|
|
|
sock.connect(("127.0.0.1", 64999))
|
|
|
|
|
2023-02-17 21:07:12 +00:00
|
|
|
recv_limit = 1024
|
|
|
|
|
|
|
|
received = sock.recv(recv_limit)
|
|
|
|
print(received)
|
2023-02-14 23:23:35 +00:00
|
|
|
|