B b4a programmer Member Sep 27, 2021 #1 Hi, I want to exchange information between two phones remotely without a server and using ip. Is it possible and how? Please attach a source. Thanks
Hi, I want to exchange information between two phones remotely without a server and using ip. Is it possible and how? Please attach a source. Thanks
Erel B4X founder Staff member Licensed User Longtime User Sep 28, 2021 #2 1. Start a local hotspot: https://www.b4x.com/android/forum/threads/start-local-hotspot.98664/#content 2. Connect the second device to this network. 3. Connect both devices with: [B4X] Network + AsyncStreams + B4XSerializator Note that you will need to use ServerSocket.GetMyIp (instead of GetMyWifiIp) on the hotspot device, to get the current ip address. Upvote 0
1. Start a local hotspot: https://www.b4x.com/android/forum/threads/start-local-hotspot.98664/#content 2. Connect the second device to this network. 3. Connect both devices with: [B4X] Network + AsyncStreams + B4XSerializator Note that you will need to use ServerSocket.GetMyIp (instead of GetMyWifiIp) on the hotspot device, to get the current ip address.
B b4a programmer Member Sep 28, 2021 #3 Erel said: 1. Start a local hotspot: https://www.b4x.com/android/forum/threads/start-local-hotspot.98664/#content 2. Connect the second device to this network. 3. Connect both devices with: [B4X] Network + AsyncStreams + B4XSerializator Note that you will need to use ServerSocket.GetMyIp (instead of GetMyWifiIp) on the hotspot device, to get the current ip address. Click to expand... Is it possible to connect two devices, one in the United States and the other in France, this way? Upvote 0
Erel said: 1. Start a local hotspot: https://www.b4x.com/android/forum/threads/start-local-hotspot.98664/#content 2. Connect the second device to this network. 3. Connect both devices with: [B4X] Network + AsyncStreams + B4XSerializator Note that you will need to use ServerSocket.GetMyIp (instead of GetMyWifiIp) on the hotspot device, to get the current ip address. Click to expand... Is it possible to connect two devices, one in the United States and the other in France, this way?
Erel B4X founder Staff member Licensed User Longtime User Sep 29, 2021 #4 Of course not. You cannot connect two devices over the internet, without a server or a specially configured local network (see this: https://www.b4x.com/android/forum/t...p-to-your-b4j-server-over-the-internet.37201/) Upvote 0
Of course not. You cannot connect two devices over the internet, without a server or a specially configured local network (see this: https://www.b4x.com/android/forum/t...p-to-your-b4j-server-over-the-internet.37201/)
B b4a programmer Member Sep 29, 2021 #5 Erel said: Of course not. You cannot connect two devices over the internet, without a server or a specially configured local network (see this: https://www.b4x.com/android/forum/t...p-to-your-b4j-server-over-the-internet.37201/) Click to expand... But I have heard that Telegram does this with WebRTC in voice and video calls. Upvote 0
Erel said: Of course not. You cannot connect two devices over the internet, without a server or a specially configured local network (see this: https://www.b4x.com/android/forum/t...p-to-your-b4j-server-over-the-internet.37201/) Click to expand... But I have heard that Telegram does this with WebRTC in voice and video calls.
DonManfred Expert Licensed User Longtime User Sep 29, 2021 #6 b4a programmer said: But I have heard that Telegram does this with WebRTC in voice and video calls. Click to expand... Using a WebRTC Server most probably! Upvote 0
b4a programmer said: But I have heard that Telegram does this with WebRTC in voice and video calls. Click to expand... Using a WebRTC Server most probably!