1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +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:
Neil Jerram 2009-10-01 22:27:07 +01:00
parent 48dc491dbe
commit 32bc92570e
2 changed files with 3 additions and 2 deletions

1
THANKS
View file

@ -76,6 +76,7 @@ For fixes or providing information which led to a fix:
Antoine Mathys Antoine Mathys
Dan McMahill Dan McMahill
Roger Mc Murtrie Roger Mc Murtrie
Scott McPeak
Tim Mooney Tim Mooney
Han-Wen Nienhuys Han-Wen Nienhuys
Jan Nieuwenhuizen Jan Nieuwenhuizen

View file

@ -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. (@pxref{Network Socket Address}). The return value is unspecified.
@example @example
(connect sock AF_INET INADDR_LOCALHOST 23) (connect sock AF_INET INADDR_LOOPBACK 23)
(connect sock (make-socket-address AF_INET INADDR_LOCALHOST 23)) (connect sock (make-socket-address AF_INET INADDR_LOOPBACK 23))
@end example @end example
@end deffn @end deffn