Hi guys,
recently i made an app...that connects to a server with 30 connections at the same time with crypted data. and when the server gets that data it should send it back...to check if a serial is blacklisted or not.
the problem is when i tried to simulate 30 instant connections to the server...winsock pretty much liked to freeze the app..and the only way to end it is ctrl alt del
i tried to put DoEvents in the connect procedure like
If Winsock1(Index).State = sckConnected Then
.senddata
DOEVENTS
end if
do events made the app a bit more clickable and moveable..but the app still likes to freeze itself...
any idea? is it the winsock control? should i use api?
cheers




Reply With Quote