Skip to content
Snippets Groups Projects
Commit 378e75fc authored by Dominik Fuhrmann's avatar Dominik Fuhrmann
Browse files

switched server

parent 26165b43
No related merge requests found
......@@ -13,9 +13,9 @@ def run_client(file_path):
# Sichere Verbindung mit dem Server herstellen
try:
print("Versuche, Verbindung zum Server herzustellen...")
with socket.create_connection(("192.168.178.51", 5000)) as sock:
with socket.create_connection(("192.168.178.63", 5000)) as sock:
print("Verbindung zum Server erfolgreich hergestellt.")
with context.wrap_socket(sock, server_hostname="192.168.178.51") as ssl_sock:
with context.wrap_socket(sock, server_hostname="192.168.178.63") as ssl_sock:
print("Mit dem Server verbunden und SSL-Handschlag abgeschlossen!")
# Datei senden
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment