[fpc-pascal] Basic Sockets in FreePascal

Ewald ewald at yellowcouch.org
Sun Jul 26 17:29:27 CEST 2015


On 07/26/2015 04:49 PM, Coyo wrote:
> I have read on the wiki and documentation that FreePascal does not have any native support for socket handling, and that you need an external third party library to have any support for it.

How about `uses sockets;` [1]? Basically it's the same as you would have
in C, but all functions are prefixed `fp` (as are most other low level
functions on *nix BTW).

[1] http://www.freepascal.org/docs-html/rtl/sockets/index-5.html

-- 
Ewald




More information about the fpc-pascal mailing list