Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Socket/Port help needed for revision of existing module

Status
Not open for further replies.

Xaqte

IS-IT--Management
Oct 4, 2002
971
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top