_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

@@ -6,7 +6,14 @@ import socket
__PORT__ = 6554
#Server-IP
__SERVER__ = socket.gethostbyname(socket.gethostname())
# für den Server (immer localhost)
__SERVERLOCAL__ = socket.gethostbyname(socket.gethostname())
#für Server auf einem Remote-Pi
__SERVERREMOTE__ = socket.gethostbyname('gabbo')
# Server-Adresse (IP,Port)
__ADDRESS__ = (__SERVER__,__PORT__)
#lokal
__ADDRESSLOCAL__ = (__SERVERLOCAL__,__PORT__)
#remote
__ADDRESSREMOTE__ = (__SERVERREMOTE__,__PORT__)