[fpc-pascal]Error Compiling INET sample program

Fernando Lozano fsl at centroin.com.br
Tue Aug 27 22:49:27 CEST 2002

Hi Michael,

> > It looks like the inet and sockets unit from the win32 FPC 1.0.6
> > distribution have some build bugs. Here's what happens:
> (...)
> This is not meant to work on Windows, only on linux.
> The inet unit only works on linux. feel free to make it work on Windows,
> that should be not too much work.

If so, there's still a bug because these units are provided in binary
form on the win32 distribution of FPC. Besides, the same kind of error
was present on 1.0.4 for mysql and ibase units.

But I remember have used these units (well, at least the sockets unit)
with FPC 1.0.4. I also think that the winsock.dll contains both the
sockets calls and the gethostby* functions so It should not be hard to
provide a win32 version.

[]s, Fernando Lozano

More information about the fpc-pascal mailing list