[fpc-devel] Function to find if IP address is local

Michael Van Canneyt michael at freepascal.org
Mon Jan 9 09:08:36 CET 2023



On Mon, 9 Jan 2023, Ondrej Pokorny via fpc-devel wrote:

> Hello!
>
> Is there a routine in RTL to find out if a given IPv4 address is from the 
> private address range (10.* etc)?

No, not to my knowledge. Feel free to add it somewhere in fcl-net.

Michael.


More information about the fpc-devel mailing list