diff options
| author | Lars Ingebrigtsen | 2019-08-23 04:49:52 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-08-23 04:49:52 +0200 |
| commit | 53cb3d3e0ddb666dc5b7774957ca863c668213cb (patch) | |
| tree | 011cf32acf25b0cd86debf5b3c22be289e60bd87 /doc | |
| parent | b4d3a882a8423e81c418fc56b7a9677f5582fcc7 (diff) | |
| parent | 29d485fb768fbe375d60fd80cb2dbdbd90f3becc (diff) | |
| download | emacs-53cb3d3e0ddb666dc5b7774957ca863c668213cb.tar.gz emacs-53cb3d3e0ddb666dc5b7774957ca863c668213cb.zip | |
Merge remote-tracking branch 'origin/netsec'
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/processes.texi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 21bc32e88b6..e2a59d419fa 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -3005,6 +3005,21 @@ If the vector does not include the port number, @var{p}, or if | |||
| 3005 | @code{:@var{p}} suffix. | 3005 | @code{:@var{p}} suffix. |
| 3006 | @end defun | 3006 | @end defun |
| 3007 | 3007 | ||
| 3008 | @defun network-lookup-address-info name &optional family | ||
| 3009 | This function is used to perform hostname lookups on @var{name}, which | ||
| 3010 | is expected to be an ASCII-only string, otherwise an error is | ||
| 3011 | signaled. Call @code{puny-encode-domain} on @var{name} | ||
| 3012 | first if you wish to lookup internationalized hostnames. | ||
| 3013 | |||
| 3014 | If successful it returns a list of Lisp representations of network | ||
| 3015 | addresses (without port numbers), otherwise it returns @code{nil}. | ||
| 3016 | |||
| 3017 | By default both IPv4 and IPv6 lookups are attempted. The optional | ||
| 3018 | argument @var{family} controls this behavior, specifying the symbol | ||
| 3019 | @code{ipv4} or @code{ipv6} restricts lookups to IPv4 and IPv6 | ||
| 3020 | respectively. | ||
| 3021 | @end defun | ||
| 3022 | |||
| 3008 | @node Serial Ports | 3023 | @node Serial Ports |
| 3009 | @section Communicating with Serial Ports | 3024 | @section Communicating with Serial Ports |
| 3010 | @cindex @file{/dev/tty} | 3025 | @cindex @file{/dev/tty} |