L lscott Member Licensed User Longtime User Aug 7, 2012 #1 I have an asyncstream (TCP socket) transmitting and receiving data very well. I have a loop doing a couple things that I want the TCPStreams _New data arrival to break it out of. Is this possible ? It appears the new data arrival will not interrupt the loop. I am using a timmer to interrupt the loop but I really would like the new data event to do it. Thanks for any directions.
I have an asyncstream (TCP socket) transmitting and receiving data very well. I have a loop doing a couple things that I want the TCPStreams _New data arrival to break it out of. Is this possible ? It appears the new data arrival will not interrupt the loop. I am using a timmer to interrupt the loop but I really would like the new data event to do it. Thanks for any directions.
Erel B4X founder Staff member Licensed User Longtime User Aug 7, 2012 #2 It is not possible to handle events inside a loop. You should use a timer instead. Upvote 0