mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
Fix incorrect doc mentions of INADDR_LOCALHOST
Thanks to Scott McPeak for reporting this. * doc/ref/posix.texi (Network Sockets and Communication): Change INADDR_LOCALHOST to INADDR_LOOPBACK.
This commit is contained in:
parent
1bfae3ccf7
commit
7394551f61
2 changed files with 3 additions and 2 deletions
1
THANKS
1
THANKS
|
@ -72,6 +72,7 @@ For fixes or providing information which led to a fix:
|
|||
Antoine Mathys
|
||||
Dan McMahill
|
||||
Roger Mc Murtrie
|
||||
Scott McPeak
|
||||
Tim Mooney
|
||||
Han-Wen Nienhuys
|
||||
Jan Nieuwenhuizen
|
||||
|
|
|
@ -2882,8 +2882,8 @@ same as @code{make-socket-address} would take to make such an object
|
|||
(@pxref{Network Socket Address}). The return value is unspecified.
|
||||
|
||||
@example
|
||||
(connect sock AF_INET INADDR_LOCALHOST 23)
|
||||
(connect sock (make-socket-address AF_INET INADDR_LOCALHOST 23))
|
||||
(connect sock AF_INET INADDR_LOOPBACK 23)
|
||||
(connect sock (make-socket-address AF_INET INADDR_LOOPBACK 23))
|
||||
@end example
|
||||
@end deffn
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue