[fpc-pascal] getaddrinfo

Ewald ewald at yellowcouch.org
Sun Mar 29 20:21:22 CEST 2015

On 03/20/2015 04:14 AM, MegaBrutal wrote:
> I also need some help with using the function, as it works very
> strangely on Linux, as it returns addrinfo structures, but the ai_addr
> member is always a null-pointer, which is theoretically impossible by
> the manual, in my understanding.

As Mark suggested, perhaps a bug in the fpc implementation (fpc does not
normally use lic for it's syscalls)? Try defining the function manually,
using libc's equivalent and see if it produces the same result?

Just a suggestion...


More information about the fpc-pascal mailing list