The example in the docs under TCP commands uses Delay(2000) after ReadString(). Is this 2 sec delay really necessary?
Tests with local computer worked fine without the delay.
Tests with local computer worked fine without the delay.
While Not KeyHit(1) strStream=AcceptTCPStream(svrGame) If strStream Then Print ReadString$(strStream) Delay 2000 End Else Print "No word from Apollo X yet ..." Delay 1000 End If Wend