<wkitt...@windstream.net> schrieb am So., 27. Okt. 2019, 19:32:

> On 10/27/19 11:56 AM, Alexander Grotewohl wrote:
> > I sent this direct to him on accident but I don't think it worked
> anyways
> > (bounced?)
> >
> > Just some test code so not very pretty. It works, but IN6ADDR_ANY was
> missing
> > and I'm not familiar enough with ipv6 to know how it might be defined in
> other
> > languages.
> >
> > uses sockets;
> > const
> >      IN6ADDR_ANY: array[0..3] of longint = (0, 0, 0, 0);
>
> well, that certainly can't work... the IPv6 format is max 8 four character
> hex
> numbers and 128 bits...
>
> https://en.wikipedia.org/wiki/IPv6_address#Representation


4 * 32-bit = 128-bit?

Also 8 four *character* hexnumbers are 4 eight character hexnumbers aka
four 32-bit integers.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to