[fpc-pascal] unit for PHostEnt definition

Andreas Klausmann Andreas.Klausmann at gmx.net
Wed Dec 16 21:29:42 CET 2015


Hi,

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".

 

Thanks!

Andreas

 

Working on fpc 2.6.4 (from ubuntu repository) on ubuntu (raspberry 2).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20151216/aae7ffed/attachment.html>


More information about the fpc-pascal mailing list