forked from beau/relab
Update 'server/NetGenieSrv.py'
This commit is contained in:
parent
8264964353
commit
03e2601714
@ -5,6 +5,8 @@ import sys;
|
||||
|
||||
def init_socket():
|
||||
# Create a TCP/IP socket
|
||||
# socket type .AF_INET is the Internet address family for IPv4.
|
||||
# .SOCK_STREAM is the socket type for TCP.
|
||||
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
|
||||
# Bind the socket to the port 8000
|
||||
|
Loading…
x
Reference in New Issue
Block a user