mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +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
48dc491dbe
commit
32bc92570e
2 changed files with 3 additions and 2 deletions
1
THANKS
1
THANKS
|
@ -76,6 +76,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
|
||||
|
|
|
@ -2860,8 +2860,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