derez Expert Licensed User Longtime User Nov 29, 2008 #1 Hi I don't understand how to enbale more than one client to communicate on a network. Specifically - what type of value is client.value , may be I can store each new connection value and use it to communicate with this client: B4X: If server.Pending = True Then client.Value = server.Accept .... Can anybody explain this for me please Thanks
Hi I don't understand how to enbale more than one client to communicate on a network. Specifically - what type of value is client.value , may be I can store each new connection value and use it to communicate with this client: B4X: If server.Pending = True Then client.Value = server.Accept .... Can anybody explain this for me please Thanks
Erel B4X founder Staff member Licensed User Longtime User Nov 29, 2008 #2 You need to have one client for each connection. The way to achieve it is by adding client objects at runtime. See sub tmrWaitForClient_Tick in the ChitChat example: http://www.b4x.com/files/ChitChat.zip
You need to have one client for each connection. The way to achieve it is by adding client objects at runtime. See sub tmrWaitForClient_Tick in the ChitChat example: http://www.b4x.com/files/ChitChat.zip