I'm attemping on copying existing modules & programs from a Linux platform to Windows. One module in particular uses sockets. Do I need to implement winsock.dll? If so how, and what port(s)? Here is some existing lines from the module:
soc = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
con_cou = 0
while 1:
try:
soc.connect(('', 33100))
break
except:
time.sleep(1)
Any help would be appreciated!
Thanks,
X
soc = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
con_cou = 0
while 1:
try:
soc.connect(('', 33100))
break
except:
time.sleep(1)
Any help would be appreciated!
Thanks,
X