Ian Branch 127 Posted June 4, 2023 Hi Team, Despite my pitiful efforts I have managed to get App Tethering working between two Apps. But, I have a problem. IIUC, the Sender has to be running before the Receiver. Something about establishing a socket This I can't guarantee. 😞 Is there any way to configure App Tethering so it dosn't matter if the Sender or Receiver starts first??  Regards & TIA, Ian Share this post Link to post
FPiette 383 Posted June 4, 2023 Never used App Thethering but I assume you get and exception when the other party is not started. Just catch the exception and try again after a short delay. Share this post Link to post
programmerdelphi2k 237 Posted June 4, 2023 (edited) @Ian Branch in fact, you can start one or other, because any one can be server or client, or be, it can receive and send info. you need just create a logical for that, using the events! Â the server always listen for a client in your network/bluetooth (a TCP/IP server), as you run client first, then you can use a "Timer" (or any strategy) to send a request to connect to the server (be who be) and it's ready. -- dont forget disable it when ok Edited June 4, 2023 by programmerdelphi2k Share this post Link to post