Winsock - Pinging problem
All,
Urgent this one...
I have a Winsock which sends a string saying "PING" to my controller on the other end.
The controller will respond with a "PING" back, otherwise it will send other monitor data back.
Whats happening is that my VB program seems to be getting confused between the two.....how do i stop this? I have a statement in the dataarrival function saying...
If (data == "PING") then
do this
else
do this
COuld it be that my controller is sending data back too fast??? Or is there another clever way round the problem?
Matt