aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-01-05 03:33:25 +0000
committerRichard M. Stallman2006-01-05 03:33:25 +0000
commitd9043ddf76ad0e257fc32e3230264f0e8526fecc (patch)
treeff09c6b206a93190204ec1a6835f48e13fafa759
parenteaa99205567f00a0c65131a2dc96bc354ee56711 (diff)
downloademacs-d9043ddf76ad0e257fc32e3230264f0e8526fecc.tar.gz
emacs-d9043ddf76ad0e257fc32e3230264f0e8526fecc.zip
(Misc Network, Make Network): Minor cleanups.
-rw-r--r--lispref/ChangeLog4
-rw-r--r--lispref/processes.texi27
2 files changed, 19 insertions, 12 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 990983b9cba..bbaf2407d63 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,7 @@
12006-01-04 Richard M. Stallman <rms@gnu.org>
2
3 * processes.texi (Misc Network, Make Network): Minor cleanups.
4
12006-01-04 Kim F. Storm <storm@cua.dk> 52006-01-04 Kim F. Storm <storm@cua.dk>
2 6
3 * processes.texi (Make Network): Add IPv6 addresses and handling. 7 * 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.
1782 1782
1783@item :family @var{family} 1783@item :family @var{family}
1784@var{family} specifies the address (and protocol) family for 1784@var{family} specifies the address (and protocol) family for
1785communication. @code{nil} stands for automatically determine a the 1785communication. @code{nil} means determine the proper address family
1786proper address family for the given @var{host} and @var{service}. 1786automatically for the given @var{host} and @var{service}.
1787@code{local} specifies a Unix socket, in which case @var{host} is ignored. 1787@code{local} specifies a Unix socket, in which case @var{host} is
1788@code{ipv4} and @code{ipv6} specify to use IPv4 and IPv6 respectively. 1788ignored. @code{ipv4} and @code{ipv6} specify to use IPv4 and IPv6
1789respectively.
1789 1790
1790@item :local @var{local-address} 1791@item :local @var{local-address}
1791For a server process, @var{local-address} is the address to listen on. 1792For a server process, @var{local-address} is the address to listen on.
@@ -2055,18 +2056,20 @@ The current flags of the interface.
2055@defun format-network-address address &optional omit-port 2056@defun format-network-address address &optional omit-port
2056This function converts the Lisp representation of a network address to 2057This function converts the Lisp representation of a network address to
2057a string. 2058a string.
2058 A five-element vector @code{[@var{a} @var{b} 2059
2059@var{c} @var{d} @var{p}]} represents an IPv4 address 2060A five-element vector @code{[@var{a} @var{b} @var{c} @var{d} @var{p}]}
2060@var{a}.@var{b}.@var{c}.@var{d} and port number @var{p}. 2061represents an IPv4 address @var{a}.@var{b}.@var{c}.@var{d} and port
2061@code{format-network-address} converts that to the string 2062number @var{p}. @code{format-network-address} converts that to the
2062@code{"@var{a}.@var{b}.@var{c}.@var{d}:@var{p}"}. 2063string @code{"@var{a}.@var{b}.@var{c}.@var{d}:@var{p}"}.
2063 A nine-element vector @code{[@var{a} @var{b} @var{c} @var{d} @var{e} 2064
2065A nine-element vector @code{[@var{a} @var{b} @var{c} @var{d} @var{e}
2064@var{f} @var{g} @var{h} @var{p}]} represents an IPv6 address and port 2066@var{f} @var{g} @var{h} @var{p}]} represents an IPv6 address and port
2065number. @code{format-network-address} converts that to the string 2067number. @code{format-network-address} converts that to the string
2066@code{"[@var{a}:@var{b}:@var{c}:@var{d}:@var{e}:@var{f}:@var{g}:@var{h}]:@var{p}"}. 2068@code{"[@var{a}:@var{b}:@var{c}:@var{d}:@var{e}:@var{f}:@var{g}:@var{h}]:@var{p}"}.
2067 2069
2068If the vector does not include the port number, @var{p}, or @var{omit-port} is 2070If the vector does not include the port number, @var{p}, or if
2069non-@code{nil}, the result does not include the @code{:@var{p}} suffix. 2071@var{omit-port} is non-@code{nil}, the result does not include the
2072@code{:@var{p}} suffix.
2070@end defun 2073@end defun
2071 2074
2072@node Byte Packing 2075@node Byte Packing