Hi, On Mon, 19 Oct 2015, Jonas Maebe wrote:
> Bo Berglund wrote on Mon, 19 Oct 2015: > > > Is there a function or such to interrogate the byte order of the > > platform FPC runs on? So that I could add a test at the start of > > download to check if swapping is needed? > > Use the http://www.freepascal.org/docs-html/rtl/system/ntobe.html function and > you don't have to care about what your host platform uses. Right, we have them in the system unit as well, no need for the sockets unit. Silly me. Charlie _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal