B BOHANG Member Sep 28, 2023 #1 I have created a new service module and used Astream to send and receive TCP data. When the tablet closes the screen for one minute and then reopens, it can only send out data and cannot trigger Astream_ NewData function.
I have created a new service module and used Astream to send and receive TCP data. When the tablet closes the screen for one minute and then reopens, it can only send out data and cannot trigger Astream_ NewData function.
Erel B4X founder Staff member Licensed User Longtime User Sep 28, 2023 #2 Step 1 is to switch to B4XPages and remove the service. Upvote 0
B BOHANG Member Oct 3, 2023 #3 Erel said: Step 1 is to switch to B4XPages and remove the service. Click to expand... My project is already using B4XPages, and attempting to include TCP functionality in the standard class is still not normal. Do you mean that TCP should also be included in the B4XPages class Upvote 0
Erel said: Step 1 is to switch to B4XPages and remove the service. Click to expand... My project is already using B4XPages, and attempting to include TCP functionality in the standard class is still not normal. Do you mean that TCP should also be included in the B4XPages class
B BOHANG Member Oct 3, 2023 #4 I have found the reason, it's just a logic issue with the code, which is related to Astream_ NewData is not related, thank you for your help Upvote 0
I have found the reason, it's just a logic issue with the code, which is related to Astream_ NewData is not related, thank you for your help