mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-23 20:05:32 +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
|
@ -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