[fpc-pascal] Linux Socket Programming

Marco van de Voort marcov at stack.nl
Tue Oct 29 22:45:03 CET 2013


In our previous episode, Robert Wolfe said:
> I am wanting to get into learning and doing some Linux socket 
> programming in FPC.  However, the tutorials I have found all do not seem 
> to work with the latest iteration of FPC 2.6 (the ones I've found will 
> only work with 2.0.0 only).
> 
> If anyone knows of where I could find some updated tutorials and code 
> snippets to learn from, I would greatly appreciate it if someone could 
> point me there way.

Since then FPC matured, and there are several socket suites to chose from,
avoiding repetitive and error-prone reimplementation of the RFCs.

FPC even packages an own one as lnet. Since you are mostly interested in
Linux, Synapse might also be worth looking at.

Note that in general FPC 2.0.0 tutorials should work. However probably the 
tutorials are 1.0.x minorly updated to 2.0. 1.0.x legacy has indeed been
cleared out since.




More information about the fpc-pascal mailing list