diff options
| author | Richard M. Stallman | 2006-01-05 03:33:25 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-01-05 03:33:25 +0000 |
| commit | d9043ddf76ad0e257fc32e3230264f0e8526fecc (patch) | |
| tree | ff09c6b206a93190204ec1a6835f48e13fafa759 | |
| parent | eaa99205567f00a0c65131a2dc96bc354ee56711 (diff) | |
| download | emacs-d9043ddf76ad0e257fc32e3230264f0e8526fecc.tar.gz emacs-d9043ddf76ad0e257fc32e3230264f0e8526fecc.zip | |
(Misc Network, Make Network): Minor cleanups.
| -rw-r--r-- | lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | lispref/processes.texi | 27 |
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 @@ | |||
| 1 | 2006-01-04 Richard M. Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * processes.texi (Misc Network, Make Network): Minor cleanups. | ||
| 4 | |||
| 1 | 2006-01-04 Kim F. Storm <storm@cua.dk> | 5 | 2006-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 |
| 1785 | communication. @code{nil} stands for automatically determine a the | 1785 | communication. @code{nil} means determine the proper address family |
| 1786 | proper address family for the given @var{host} and @var{service}. | 1786 | automatically 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. | 1788 | ignored. @code{ipv4} and @code{ipv6} specify to use IPv4 and IPv6 |
| 1789 | respectively. | ||
| 1789 | 1790 | ||
| 1790 | @item :local @var{local-address} | 1791 | @item :local @var{local-address} |
| 1791 | For a server process, @var{local-address} is the address to listen on. | 1792 | For 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 |
| 2056 | This function converts the Lisp representation of a network address to | 2057 | This function converts the Lisp representation of a network address to |
| 2057 | a string. | 2058 | a string. |
| 2058 | A five-element vector @code{[@var{a} @var{b} | 2059 | |
| 2059 | @var{c} @var{d} @var{p}]} represents an IPv4 address | 2060 | A 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}. | 2061 | represents an IPv4 address @var{a}.@var{b}.@var{c}.@var{d} and port |
| 2061 | @code{format-network-address} converts that to the string | 2062 | number @var{p}. @code{format-network-address} converts that to the |
| 2062 | @code{"@var{a}.@var{b}.@var{c}.@var{d}:@var{p}"}. | 2063 | string @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 | |
| 2065 | A 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 |
| 2065 | number. @code{format-network-address} converts that to the string | 2067 | number. @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 | ||
| 2068 | If the vector does not include the port number, @var{p}, or @var{omit-port} is | 2070 | If the vector does not include the port number, @var{p}, or if |
| 2069 | non-@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 |