From 03e2601714da0f03d1a11851d46c89f7d5dc7bdc Mon Sep 17 00:00:00 2001 From: Sana147 <14mseeshabib@seecs.edu.pk> Date: Mon, 1 May 2023 23:32:10 +0000 Subject: [PATCH] Update 'server/NetGenieSrv.py' --- server/NetGenieSrv.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/NetGenieSrv.py b/server/NetGenieSrv.py index 3520931..504d755 100644 --- a/server/NetGenieSrv.py +++ b/server/NetGenieSrv.py @@ -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