ipaddr>?

Synopsis

(ipaddr>? ipaddr1 ipaddr2)

Parameters

  • ipaddr1
  • ipaddr2

Description

This predicate returns #t if ipaddr1 is greater 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)
#t
> (ipaddr>? '10.0.0.1 '10.0.0.1)
#f
> (ipaddr>? 'fe80::ff '10.0.0.1)
#t
> (ipaddr>? 'fe80::ff 'ff80::ff)
#f
>