
Winsock not flushing data
I'm writing a client/server program using the MS winsock control and when I
use the senddata method in a for loop on an array of client winsocks only
the first client receives the data. If I pause and continue by program
then the other clients receive the data. It seems as though the data is
being held back. Is there any way to flush the data so it is sent
immediately. Here is a sample coding.
For i = Child.LBound To Child.UBound
If FProp(i).Deleted = False Then
Child(i).SendData "Message;Hello"
End If
Next i
Thanks,
Andy