mirror of
https://github.com/open-goal/jak-project
synced 2026-05-31 01:16:12 -04:00
7 lines
232 B
Python
7 lines
232 B
Python
import socket
|
|
clientSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM);
|
|
clientSocket.connect(("127.0.0.1", 8181))
|
|
print(clientSocket)
|
|
num_sent = clientSocket.send(b'\x01\x02\x03\x04')
|
|
print("Sent {} bytes".format(num_sent))
|