_pycache__ gelöscht

network Package mit __init__.py ausgestattet.
This commit is contained in:
2023-04-24 10:49:25 +02:00
parent 601b5de46d
commit c8ea31042e
7 changed files with 22 additions and 6 deletions

View File

@@ -2,13 +2,13 @@
import socket
import threading
from network.const import __ADDRESS__
from network import __ADDRESSLOCAL__
# Server-Socket aufbauen
server = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
#Socket an unsere Server-Adresse binden
server.bind(__ADDRESS__)
server.bind(__ADDRESSLOCAL__)
# Set mit den verbundenen Clients
clients = set()