[fpc-pascal] Serial to TCP gateway in FPC?

Michael Schnell mschnell at lumino.de
Tue Jun 20 11:45:03 CEST 2017


On 20.06.2017 11:18, Mark Morgan Lloyd wrote:
> I tend to use the lower-level serial.pp unit. The patches I 
> contributed a couple of years ago specifically added a couple of 
> read-with-timeout functions

IMHO, freeing the user from the necessity to poll or do a thread to wait 
for serial events is a very beneficial strategy.

But Koenraad Lelong said in the other mail that "SDPOSerial" has a 
OnRxData event. Hopefully by "event" a main thread event is meant.

-Michael



More information about the fpc-pascal mailing list