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

Paulo Costa paco.mail.telepac.pt at gmail.com
Tue Jun 20 19:17:54 CEST 2017


On 20-Jun-17 10:45, Michael Schnell wrote:
> 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.

Yes. That is the case.

Paulo Costa



More information about the fpc-pascal mailing list