If preparing an address returned by fpgetpeername() for display or logging, should I be using HostAddrToStr() or NetAddrToStr()?

Is anybody aware that HostAddrToStr() and HostAddrToStr6() appear to return addresses different ways round in 2.6.0 on Linux x86? NetAddrToStr() and NetAddrToStr6() appear to be consistent.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to