invitro
May 1st, 2000, 11:52 AM
Ok, ive tried this over and over.. but does anybody know a API function that will put a winsock to sleep?
Something that i can call as in
Sleep_Sock(Winsock1)
and let it sleep for lets say 20 seconds, and then revive itself.
Ive gotten suggestions about the
Sleep API
But that freezes the entire program.
I also dont want to use a timer because i have different winsocks in different indexes loaded. As in
Winsock(1, 2, 3, 4)
And i never know which 1 will be connected upon, a timmer would be to messy.
Any suggestions? Please?! :(
Something that i can call as in
Sleep_Sock(Winsock1)
and let it sleep for lets say 20 seconds, and then revive itself.
Ive gotten suggestions about the
Sleep API
But that freezes the entire program.
I also dont want to use a timer because i have different winsocks in different indexes loaded. As in
Winsock(1, 2, 3, 4)
And i never know which 1 will be connected upon, a timmer would be to messy.
Any suggestions? Please?! :(