Re: multi-threading - WeOnlyDo Discussion board

Re: multi-threading (General questions)

by help, Wednesday, December 19, 2007, 21:20 (6183 days ago) @ wodDamir

Thanks for the fast reply! Here's what I'm doing...


Dim sck as WodHttpDLX (sock() is the wodHttpDLX.ocx on the form)

Do While blnStop = False
For Each sck In sock
DoEvents
If blnStop = False Then
If sck.State = StateNotConnected Or sck.State = StateDisconnecting Then
sck.Disconnect
tmrTimeout(sck.Index).Enabled = False
tmrTimeout(sck.Index).interval = Int(INIRead( Timeout )) * 1000
tmrTimeout(sck.Index).Enabled = True
SendTry sck.Index 'Heres the .GET
End If
End If
Next sck
Loop


This works great with Winsock, but crappy with wodHttpDLX, can I even do this with wodHttpDLX? Or am I just gonna have to code it differently? Thanks


Complete thread: