[fpc-pascal]Sending files over a Nullmodem cable

Marco van de Voort marcov at stack.nl
Sat Oct 25 01:02:20 CEST 2003


> I play with the thought to write a socket program. This program should
> transfer large data files from my main computer to my notebook. For the
> connection, I want to use a nullmodem cable over the serial port. I will
> use the client/server model. 
> 
> The first problem is, how to access the serialport in FreeBSD with FPC ? 
> Are there any examples or units that I can study.

No. Otoh, it is nothing more than configuring, and than reading/writing a 
device.

See e.g. 

man sio (and specially note the "files" section) to see how serial ports are
named.

However that is not socket based by default, you'd probably need to run
SLIP on it.




More information about the fpc-pascal mailing list