sock(0) is listening
NumSocks is the total number of socks
----------------
connection request
for a = 1 to NumSocks
if sock(a).state = 0 then 50
next a
NumSock=NumSocks+1
load sock(NumSocks)
a=NumSocks
50
Sock(a).accept requestid
etc etc
|
Results 1 to 6 of 6
Thread: Winsock Server appThreaded View
|
Click Here to Expand Forum to Full Width |