forked from beau/relab
Update 'server/NetGenieSrv.py'
This commit is contained in:
parent
5567ffba0f
commit
8264964353
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user