ipaddr-range

Synopsis

(ipaddr-range ipaddr-start ipaddr-end)

Parameters

  • ipaddr-start
  • ipaddr-end

Description

This procedure constructs an IP address range of the specified interval. The start IP address is required to be less or equal than the end IP address.

Side Effects

Return Value

#t or #f

Example

> (ipaddr-range '0.0.0.0 '0.0.0.255)
0.0.0.0-0.0.0.255
> (ipaddr-range 'FE80::01 'FE80::ff)
fe80::1-fe80::ff
>