/[guile]/guile/guile-core/doc/ref/posix.texi
ViewVC logotype

Diff of /guile/guile-core/doc/ref/posix.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.26 by kryde, Fri Sep 12 23:57:03 2003 UTC revision 1.27 by kryde, Fri Sep 12 23:59:30 2003 UTC
# Line 1810  between numeric and string formats. Line 1810  between numeric and string formats.
1810    
1811  @subsubsection IPv4 Address Conversion  @subsubsection IPv4 Address Conversion
1812    
1813    An IPv4 Internet address is a 4-byte value, represented in Guile as an
1814    integer in network byte order (meaning the first byte is the most
1815    significant in the number).
1816    
1817    @defvar INADDR_LOOPBACK
1818    The address of the local host using the loopback device, ie.@:
1819    @samp{127.0.0.1}.
1820    @end defvar
1821    
1822    @defvar INADDR_BROADCAST
1823    The broadcast address on the local network.
1824    @end defvar
1825    
1826    @c  INADDR_NONE is defined in the code, but serves no purpose.
1827    @c  inet_addr() returns it as an error indication, but that function
1828    @c  isn't provided, for the good reason that inet_aton() does the same
1829    @c  job and gives an unambiguous error indication.  (INADDR_NONE is a
1830    @c  valid 4-byte value, in glibc it's the same as INADDR_BROADCAST.)
1831    @c
1832    @c  @defvar INADDR_NONE
1833    @c  No address.
1834    @c  @end defvar
1835    
1836  @deffn {Scheme Procedure} inet-aton address  @deffn {Scheme Procedure} inet-aton address
1837  @deffnx {C Function} scm_inet_aton (address)  @deffnx {C Function} scm_inet_aton (address)
1838  Convert an IPv4 Internet address from printable string  Convert an IPv4 Internet address from printable string

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26