]> git.eshelyaron.com Git - emacs.git/commitdiff
Describe IPv6 format in docstring for 'make-network-process'
authorRobert Pluim <rpluim@gmail.com>
Thu, 7 Nov 2019 13:19:43 +0000 (14:19 +0100)
committerRobert Pluim <rpluim@gmail.com>
Thu, 7 Nov 2019 17:16:07 +0000 (18:16 +0100)
* src/process.c (Fmake_network_process): Add description of IPv6
address format.

src/process.c

index af282652eb483bb9d886e2f87fee5b4b3d875baf..1f959e39607f109cd78e9140f0e8826255bd408a 100644 (file)
@@ -3794,6 +3794,8 @@ process, the FAMILY, HOST, and SERVICE args are ignored.
 The format of ADDRESS depends on the address family:
 - An IPv4 address is represented as a vector of integers [A B C D P]
 corresponding to numeric IP address A.B.C.D and port number P.
+- An IPv6 address has the same format as an IPv4 address but with 9
+elements rather than 5.
 - A local address is represented as a string with the address in the
 local address space.
 - An "unsupported family" address is represented by a cons (F . AV)