[fpc-pascal] unit for PHostEnt definition
leledumbo
leledumbo_cool at yahoo.co.id
Thu Dec 17 09:55:04 CET 2015
> 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.
More information about the fpc-pascal
mailing list