Re: [Lazarus] UDP server

2021-01-12 Thread duilio foschi via lazarus
Oops! Sorry On Tue, Jan 12, 2021, 20:32 Bo Berglund via lazarus < lazarus@lists.lazarus-ide.org> wrote: > On Mon, 11 Jan 2021 20:32:52 +0100, duilio foschi via lazarus > wrote: > > > >Peppe Polpo > > Please do not start a new thread by using an old thread and changing the > subject > and

Re: [Lazarus] UDP server

2021-01-12 Thread Bo Berglund via lazarus
On Mon, 11 Jan 2021 20:32:52 +0100, duilio foschi via lazarus wrote: > >Peppe Polpo Please do not start a new thread by using an old thread and changing the subject and content! It messes up message threading in newsreaders and email clients, which use a hidden "thread" identifier of sorts...

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