Sign in Join

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

Mailing lists / fpc-pascal / 2011-04

Library for network calculations

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Michael Van Canneyt
to Frank Church
Frank Church wrote
Is there an fpc library for TCP/IP network calculations, like computing subnets, broadcast address etc.

Not to my knowledge. The netdb and resolve units contain some resolving logic. Patches to implement this kind of functionality are definitely welcome.

Michael.

Reply by email

Mark Morgan Lloyd
to Michael Van Canneyt
Michael Van Canneyt wrote 8 lines
On Sun, 3 Apr 2011, Frank Church wrote: > Is there an fpc library for TCP/IP network calculations, like > computing subnets, broadcast address etc. Not to my knowledge. The netdb and resolve units contain some resolving logic. Patches to implement this kind of functionality are definitely welcome.

Most definitely welcome. I've hacked around with this sort of thing a bit- sliding subnet masks around to try to find responding UDP systems the other side of a router- and it was unpleasant, particularly when it had to work on both little- and big-endian systems.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email