This commit is contained in:
2024-04-24 13:28:38 -04:00
commit 45ac4648dd
24 changed files with 1218 additions and 0 deletions

15
old/sovket_client.py Normal file
View File

@@ -0,0 +1,15 @@
import socket
socket_path = '/tmp/my_socket'
# Create the Unix socket server
client = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
client.bind(socket_path)
client.send("hello".encode())
while True:
data, addr = client.recvfrom(1024)
print(data)