aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-08-23 04:49:52 +0200
committerLars Ingebrigtsen2019-08-23 04:49:52 +0200
commit53cb3d3e0ddb666dc5b7774957ca863c668213cb (patch)
tree011cf32acf25b0cd86debf5b3c22be289e60bd87 /doc
parentb4d3a882a8423e81c418fc56b7a9677f5582fcc7 (diff)
parent29d485fb768fbe375d60fd80cb2dbdbd90f3becc (diff)
downloademacs-53cb3d3e0ddb666dc5b7774957ca863c668213cb.tar.gz
emacs-53cb3d3e0ddb666dc5b7774957ca863c668213cb.zip
Merge remote-tracking branch 'origin/netsec'
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/processes.texi15
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
3009This function is used to perform hostname lookups on @var{name}, which
3010is expected to be an ASCII-only string, otherwise an error is
3011signaled. Call @code{puny-encode-domain} on @var{name}
3012first if you wish to lookup internationalized hostnames.
3013
3014If successful it returns a list of Lisp representations of network
3015addresses (without port numbers), otherwise it returns @code{nil}.
3016
3017By default both IPv4 and IPv6 lookups are attempted. The optional
3018argument @var{family} controls this behavior, specifying the symbol
3019@code{ipv4} or @code{ipv6} restricts lookups to IPv4 and IPv6
3020respectively.
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}