[fpc-pascal] Endiannes & programmer's manual - missing compiler define?
Sven Barth
pascaldragon at googlemail.com
Tue Jun 5 09:35:03 CEST 2012
Am 05.06.2012 08:02, schrieb Reinier Olislagers:
> Also, I'm sure there must be functions to convert endianness - at least
> network byte order (big endian) to host order.
> I found e.g. Synapse synsock:
> function ntohs(netshort: word): word;
> function ntohl(netlong: longword): longword;
> function htons(hostshort: word): word;
> function htonl(hostlong: longword): longword;
>
> Are there an equivalent RTL/FCL functions?
They are in FPC's sockets unit.
Regards,
Sven
More information about the fpc-pascal
mailing list