_pycache__ gelöscht
network Package mit __init__.py ausgestattet.
This commit is contained in:
@@ -1 +1,3 @@
|
||||
from .const import __ADDRESSLOCAL__
|
||||
from .const import __ADDRESSREMOTE__
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
@@ -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__)
|
||||
|
Reference in New Issue
Block a user