Update 'server/NetGenieSrv.py'

This commit is contained in:
Sana147 2023-05-01 23:26:12 +00:00
parent 5567ffba0f
commit 8264964353

View File

@ -7,7 +7,7 @@ def init_socket():
# Create a TCP/IP socket # Create a TCP/IP socket
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
# Bind the socket to the port # Bind the socket to the port 8000
server_address = ('localhost', 8000) server_address = ('localhost', 8000)
sock.bind(server_address) sock.bind(server_address)