LAMW: Networking libraries lazarus / 43-Android ---------------------------------------------------------------------- rime · 2016-09-21 14:33 LAMW comes with TCP, SMTP and HTTP client components. But I want to discover two Android devices in LAN, from the same LAMW application. What are my options to implement UDP broadcast ? I tried Indy (not compiling due to dependencies), lnet (compiled but app crashes). ---------------------------------------------------------------------- DonAlfredo · 2016-09-21 15:12 Restroom duck replying .... The mORMot has UDP support ! And runs very well on Android. See: http://synopse.info/forum/viewtopic.php?id=2466 http://synopse.info/files/html/api-1.18/SynCrtSock.html#TCRTSOCKET ---------------------------------------------------------------------- jmpessoa · 2016-09-21 19:21 Hi rime, I will try implement a LAMW UDP client component.... ---------------------------------------------------------------------- rime · 2016-09-22 22:00 That would be awesome jmpessoa Discovering devices is an important feature in mobile development @DonAlfredo SynCrtSock does not compile, even when i switch directives from Linux to Android, it is still missing units like LibC or types like TSocket. ---------------------------------------------------------------------- rime · 2016-10-01 20:32 jmpessoa, Thank you for the update with UDP component. It works perfectly fine. I have also tested sending broadcast from Android and received it on Windows program with IdUDPServer (Indy), and the other way (Windows -> Android) with IdUDPClient - results without a single problem. Thank you again for your great work.