Re: [fpc-pascal] unit for PHostEnt definition

2015-12-17 Thread leledumbo
> 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

[fpc-pascal] unit for PHostEnt definition

2015-12-16 Thread Andreas Klausmann
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