aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2016-03-07 18:54:25 -0800
committerPaul Eggert2016-03-07 18:55:20 -0800
commit59c7a5d71145d88933a535e222bdf30105e7d382 (patch)
tree04724485be6c619e6257873f7d05c2ae51bcbb64 /doc
parent6bc8689c042830ae8c13e34af993e8f923e47c9d (diff)
downloademacs-59c7a5d71145d88933a535e222bdf30105e7d382.tar.gz
emacs-59c7a5d71145d88933a535e222bdf30105e7d382.zip
Assume getaddrinfo in C code
* admin/CPP-DEFINES, configure.ac: Remove HAVE_GETADDRINFO, HAVE_H_ERRNO. All uses removed. * doc/lispref/processes.texi (Network, Network Processes), etc/NEWS: Say that port numbers can be integer strings. * lib-src/pop.c (h_errno) [!WINDOWSNT && !HAVE_H_ERRNO]: Remove decl. (socket_connection): Assume HAVE_GETADDRINFO. * lisp/mpc.el (mpc--proc-connect): * lisp/net/network-stream.el (open-network-stream): It’s now OK to use integer strings as port numbers. * src/process.c (conv_numerical_to_lisp) [!HAVE_GETADDRINFO]: Remove. (Fmake_network_process): Assume HAVE_GETADDRINFO.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/processes.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi
index 79cebaa79fa..8d3df55cba9 100644
--- a/doc/lispref/processes.texi
+++ b/doc/lispref/processes.texi
@@ -2128,7 +2128,8 @@ associated with any buffer.
2128 2128
2129The arguments @var{host} and @var{service} specify where to connect to; 2129The arguments @var{host} and @var{service} specify where to connect to;
2130@var{host} is the host name (a string), and @var{service} is the name of 2130@var{host} is the host name (a string), and @var{service} is the name of
2131a defined network service (a string) or a port number (an integer). 2131a defined network service (a string) or a port number (an integer like
2132@code{80} or an integer string like @code{"80"}).
2132 2133
2133The remaining arguments @var{parameters} are keyword/argument pairs 2134The remaining arguments @var{parameters} are keyword/argument pairs
2134that are mainly relevant to encrypted connections: 2135that are mainly relevant to encrypted connections:
@@ -2352,8 +2353,9 @@ connecting to that address will be accepted.
2352 2353
2353@item :service @var{service} 2354@item :service @var{service}
2354@var{service} specifies a port number to connect to; or, for a server, 2355@var{service} specifies a port number to connect to; or, for a server,
2355the port number to listen on. It should be a service name that 2356the port number to listen on. It should be a service name like
2356translates to a port number, or an integer specifying the port number 2357@samp{"http"} that translates to a port number, or an integer like @samp{80}
2358or an integer string like @samp{"80"} that specifies the port number
2357directly. For a server, it can also be @code{t}, which means to let 2359directly. For a server, it can also be @code{t}, which means to let
2358the system select an unused port number. 2360the system select an unused port number.
2359 2361