ipaddr=?

Synopsis

(ipaddr=? ipaddr1 ipaddr2)

Parameters

  • ipaddr1
  • ipaddr2

Description

This predicate returns #t if both IP addresses are equal, 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=? 1.1.1.4 2.2.2.4)
#f
> (ipaddr=? 1.1.1.4 '1.1.1.4)
#t
> (ipaddr=? :: ::)
#t
> (ipaddr=? fe80::01 'fe80::01)
#t
> (ipaddr=? '10.10.10.10 '::ffff:10.10.10.10)
#t
>