From: Richard M. Stallman Date: Thu, 5 Jan 2006 03:33:25 +0000 (+0000) Subject: (Misc Network, Make Network): Minor cleanups. X-Git-Tag: emacs-pretest-22.0.90~4886 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d9043ddf76ad0e257fc32e3230264f0e8526fecc;p=emacs.git (Misc Network, Make Network): Minor cleanups. --- diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 990983b9cba..bbaf2407d63 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,3 +1,7 @@ +2006-01-04 Richard M. Stallman + + * processes.texi (Misc Network, Make Network): Minor cleanups. + 2006-01-04 Kim F. Storm * processes.texi (Make Network): Add IPv6 addresses and handling. diff --git a/lispref/processes.texi b/lispref/processes.texi index 7b775424304..14fd069dc01 100644 --- a/lispref/processes.texi +++ b/lispref/processes.texi @@ -1782,10 +1782,11 @@ the system select an unused port number. @item :family @var{family} @var{family} specifies the address (and protocol) family for -communication. @code{nil} stands for automatically determine a the -proper address family for the given @var{host} and @var{service}. -@code{local} specifies a Unix socket, in which case @var{host} is ignored. -@code{ipv4} and @code{ipv6} specify to use IPv4 and IPv6 respectively. +communication. @code{nil} means determine the proper address family +automatically for the given @var{host} and @var{service}. +@code{local} specifies a Unix socket, in which case @var{host} is +ignored. @code{ipv4} and @code{ipv6} specify to use IPv4 and IPv6 +respectively. @item :local @var{local-address} For a server process, @var{local-address} is the address to listen on. @@ -2055,18 +2056,20 @@ The current flags of the interface. @defun format-network-address address &optional omit-port This function converts the Lisp representation of a network address to a string. - A five-element vector @code{[@var{a} @var{b} -@var{c} @var{d} @var{p}]} represents an IPv4 address -@var{a}.@var{b}.@var{c}.@var{d} and port number @var{p}. -@code{format-network-address} converts that to the string -@code{"@var{a}.@var{b}.@var{c}.@var{d}:@var{p}"}. - A nine-element vector @code{[@var{a} @var{b} @var{c} @var{d} @var{e} + +A five-element vector @code{[@var{a} @var{b} @var{c} @var{d} @var{p}]} +represents an IPv4 address @var{a}.@var{b}.@var{c}.@var{d} and port +number @var{p}. @code{format-network-address} converts that to the +string @code{"@var{a}.@var{b}.@var{c}.@var{d}:@var{p}"}. + +A nine-element vector @code{[@var{a} @var{b} @var{c} @var{d} @var{e} @var{f} @var{g} @var{h} @var{p}]} represents an IPv6 address and port number. @code{format-network-address} converts that to the string @code{"[@var{a}:@var{b}:@var{c}:@var{d}:@var{e}:@var{f}:@var{g}:@var{h}]:@var{p}"}. -If the vector does not include the port number, @var{p}, or @var{omit-port} is -non-@code{nil}, the result does not include the @code{:@var{p}} suffix. +If the vector does not include the port number, @var{p}, or if +@var{omit-port} is non-@code{nil}, the result does not include the +@code{:@var{p}} suffix. @end defun @node Byte Packing