[fpc-pascal] SOLVED fpSelect fails with UDP sockets?
Mark Morgan Lloyd
markMLl.fpc-pascal at telemetry.co.uk
Sun Apr 3 22:44:56 CEST 2016
wkitty42 at windstream.net wrote:
> NOTE: i've not done any research to see what dadr.sin_addr.s_bytes is
> but i assume that it is an array of bytes to contain each of the IP
> address parts...
It's usually an untagged variant record so you can also do something like
target.s_addr:= HToNL($7F000001);
Just /don't/ assume you can do maths with it.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the fpc-pascal
mailing list