> after a whole night of unsuccessful googling I’m still wondering, which unit(s) I have to use to find a type definition of PHostEnt in linux. I need it for the gethostbyname function. > > In Windows it’s defined in winsock and there should be an equivalent > record in linux according to systems “man gethostbyname”
netdb, both the function and the type definition are there. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/unit-for-PHostEnt-definition-tp5723392p5723396.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal