ipaddr<?

Synopsis

(ipaddr<? ipaddr1 ipaddr2)

Parameters

  • ipaddr1
  • ipaddr2

Description

This predicate returns #t if ipaddr1 is smaller than ipaddr2, otherwise #f is returned. When passing non IP addresses to this predicate an argument error is signalled.

Side Effects

Return Value

#t or #f

Example

> (ipaddr<? '10.0.0.1 '10.0.0.0)
#f
> (ipaddr<? '10.0.0.1 '10.0.0.1)
#f
> (ipaddr<? 'fe80::ff 'ff80::ff)
#t
> (ipaddr<? '10.10.10.10 '::ffff:10.10.10.10)
#f
>