Winsock question--switching users over
Hey, I know this is possible (i've seen it somewhere i think)
but how can you have like two winsock controls
IE: a winsock control: sckQuery and another sckServer
so sckQuery accepts the connection, and data is exchanged , bling bling blong
then I want to be able to switch the user from sckQuery to a specific sckServer (they're both control arrays)
Also, do they have to be set to different ports? (sckquery and sckserver) ? i'd think they wouldn't have to be, but i'm not sure
so right now i have
sckQuery(0) is listening on a certain port
sckquery accepts connection, makes a new sckquery, and sends data, blah
then we switch the user to a new sckServer control array...
sckquery(0) is the only one i set a port to..
so.. anyone have any insight? heh..