Knowledge Base Ask Cody Resources



 
I am using Distinct's Telnet control in a VB application. I seem to receive the first OnReceive() event but do not get the subsequent ones.
The problem may be related to the fact that while you are reading the data of the first OnReceive event more data came in which you did not get notification of.

Try to put the Telnet.Receive in a While loop and read until the ReceiveCount has gone to 0. This way you will get all the data intact without the need of a delay and all subsequent OnReceive events will fire.





04/19/2024   Legal notices | PRIVACY Policy |