Re: [fpc-pascal] [OT] GPL Lisence help

2012-07-30 Thread Mark Morgan Lloyd
Jorge Aldo G. de F. Junior wrote: APIs are not copyrighteable. This was the whole concept around the Google vs Oracle case. No, that was the concept around the current verdict in the case, it could still be overturned by a superior court. APIs are not copyrightable (although they could pot

[fpc-pascal] Byte ordering in IP4 and IP6 addresses

2012-07-30 Thread Mark Morgan Lloyd
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()