[fpc-pascal]DNS-lookup under linux

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Wed Jan 10 11:03:13 CET 2001

On Wed, 10 Jan 2001, FPC Mail list reader wrote:

> Hi. I'm doing a win32 tcp app and I want it to be portable to linux, but I
> can't find gethostbyname() in the linux sockets unit. Does it have another
> name or isn't it implemented ? (pp-version: 1.04)

The gethostbyname() call is in the inet unit for linux. It uses the C
library and hence it isn't included in the standard sockets unit.


More information about the fpc-pascal mailing list