[Lazarus] How does one add an event to a blocking system?

Bo Berglund bo.berglund at gmail.com
Wed Oct 21 13:44:42 CEST 2015


I need a TCP port component that can work as a non-blocking port for
receiving data. THe data arrival should trigger an event where I can
read the data.
So if I use a thread to read data from the socket, how do I signal to
the main application that data are arriving using an event?
Is there some resource available as a guide?


-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list