B4A Question download new version probs - Erel (first post)    Mar 05, 2017 This is a false positive related to the new executable. There are similar reports after each new version.
The UDP communication is part of the new auto discover feature. B4A Question Discover clients on wifi - Erel (first post)    Oct 06, 2022   (1 reaction) You need to use UDP broadcasting. Start with this example: https://www.b4x.-chat-with-auto-discovery.75713/#content B4A Question Deteting all devices ip at the same network - Erel (first post)    May 21, 2023   (2 reactions) This is not something that you can simply find. Your device isn't familiar with other devices on the network. You can use UDP broadcasting feature to find other devices running your apps: MQTT Chat with Auto Discovery B4i Question UDP auto discovery - Erel (first post)    Aug 02, 2017 There is no relation between MQTT and UDP discovery. It is just an example that uses UDP to discover the "mqtt server".
This is not what I said...
Finding the broadcast address:
B4A: https://www.b4x./#content
B4J / B4i: UDPSocket.GetBroadcastAddress
You should use UDPSocket.GetBroadcastAddress B4i Tutorial B4i Change Log (versions history) - Erel    Jan 10, 2024   (1 reaction) Debugger improvements: Better handling of multiple installed debug apps. Bug fixes and better logging. Deployment process improved. Auto installation is now the default. SetDebugAutoFlushLogs keyword. When enabled a short pause is added in debug mode when internal logs are printed. This is useful f B4A Question [Solved] Android blocking receiving UDP broadcast - rtek1000    Nov 20, 2018   (1 reaction) Length) As Byte
'bc.ArrayCopy(Packet.Data, Packet.Offset, data, 0, Packet.Length)
Dim ds As String = msg ' serializator.ConvertBytesToObject(data)
If ds <> DiscoveredServer Then
DiscoveredServer = ds
Log("Discovered server: " & DiscoveredServer)
B4A Question How To get the IP adress of a connected device to the hotspot - DavideV (first post)    Jul 23, 2021 Hi,
just tried UDP discovery over hotspot but unfortunately it doesn't work. The good way for you is MQTT.
If you are using ESP32, think about bluetooth LE for discovery, get the IP from bluetooth then connect via WiFi
Bye B4A Tutorial MQTT Chat with Auto Discovery - Erel    Jan 30, 2017   (28 reactions) This is an extension to the MQTT chat room example: https://www.b4x.com/android/forum/threads/b4x-mqtt-chat-room.61568/#content
It is a chat room where one of the devices acts as a server and the others as clients.
https://www.b4x.com/basic4android/images/SS-2017-01-30_10.56.47.jpg
The difference B4i Question New post (UDPSocket.send returns "error sending data: 13") - RaymondHung (first post)    Aug 19, 2020 Sorry everyone, I made a mistake on the name, it should be "UDP_PacketArrived". Now it works normally.
Sub Process_Globals
Dim UDPSocket1 As UDPSocket
End Sub
Private Sub Application_Start (Nav As NavigationController)
UDPSocket1.Initialize("UDP", 30303, 8000)
End Sub
Public Sub Dis B4A Question ZeroMQ wrapping on B4A - OliverA (first post)    Apr 23, 2019 UDP <> reliable
If you want to make UDP reliable, be prepared to write some code, which will nullify your lightweight goal.
Have you seen this? https://www.b4x.-chat-with-auto-discovery.75713/#content Page: 1   2   3   4   5   6   7   Powered by ColBERT |