Re: [Lazarus] UDP server

2021-01-11 Thread Corpsman via lazarus
I use the lnet lib which can be easily installed with the online package manager works great with tcp and udp and has onReceived events ;) On 1/12/21 1:39 AM, Graeme Geldenhuys via lazarus wrote: > On 11/01/2021 7:32 pm, duilio foschi via lazarus wrote: >> I miss old ICS (Internet Component

Re: [Lazarus] UDP server

2021-01-11 Thread Graeme Geldenhuys via lazarus
On 11/01/2021 7:32 pm, duilio foschi via lazarus wrote: > I miss old ICS (Internet Component Suite) :) Have you tried looking at Indy components? I've used them for years with great success. Regards, Graeme -- ___ lazarus mailing list

[Lazarus] UDP server

2021-01-11 Thread duilio foschi via lazarus
http://www.ararat.cz/synapse/doku.php/public:howto:udpserver this is the code suggested to write a UDP server with synapse. The code uses an infinite loop in a thread. I find this solution rather ugly. I would expect an event OnReceiveData that apparently is not there. The socket allows for a