Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2001-01

Re: DNS-lookup under linux

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author
to FPC Mail list reader: Hi. I'm doing a win32 tcp app and I want it to be portable to linux, but I can't find…
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.

Michael.

Reply by email

FPC Mail list reader

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)

Thanx for reading,
Bogdan

Reply by email