X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-bsd-sockets%2Fsb-bsd-sockets.texinfo;h=760c5f015252bc7eb35cb882bbc190aaa8bc6516;hb=78eea0607fb44f620a8192e173f91860d3622967;hp=ab8fdd4ea777682298a329f7d991c889c0e287e3;hpb=01b53542be411ba6ede003da5e7292e16602ab6e;p=sbcl.git diff --git a/contrib/sb-bsd-sockets/sb-bsd-sockets.texinfo b/contrib/sb-bsd-sockets/sb-bsd-sockets.texinfo index ab8fdd4..760c5f0 100644 --- a/contrib/sb-bsd-sockets/sb-bsd-sockets.texinfo +++ b/contrib/sb-bsd-sockets/sb-bsd-sockets.texinfo @@ -1,6 +1,6 @@ -@c This currently appears in the manual as a chapter: if a -@c higher-level interface appear, it will make sense to lower this -@c into a section. +@node Networking +@comment node-name, next, previous, up +@chapter Networking @cindex Sockets, Networking The @code{sb-bsd-sockets} module provides a thinly disguised BSD @@ -67,8 +67,12 @@ than "network-endian integers". @include fun-sb-bsd-sockets-socket-receive.texinfo +@include fun-sb-bsd-sockets-socket-send.texinfo + @include fun-sb-bsd-sockets-socket-listen.texinfo +@include fun-sb-bsd-sockets-socket-open-p.texinfo + @include fun-sb-bsd-sockets-socket-close.texinfo @include fun-sb-bsd-sockets-socket-make-stream.texinfo @@ -147,14 +151,16 @@ across a network. @node Name Service @section Name Service -Presently name service is implemented by calling whatever -@code{gethostbyname(2)} uses. This may be any or all of -@file{/etc/hosts}, NIS, DNS, or something completely different. -Typically it's controlled by @file{/etc/nsswitch.conf}. - -Direct links to the asynchronous @code{resolver(3)} routines would be -nice to have eventually, so that we can do DNS lookups in parallel -with other things +Presently name service is implemented by calling out to the +@code{getaddrinfo(3)} and @code{gethostinfo(3)}, or to +@code{gethostbyname(3)} @code{gethostbyaddr(3)} on platforms where +the preferred functions are not available. The exact details of +the name resolving process (for example the choice of whether +DNS or a hosts file is used for lookup) are platform dependent. + +@c Direct links to the asynchronous @code{resolver(3)} routines would be +@c nice to have eventually, so that we can do DNS lookups in parallel +@c with other things. @include class-sb-bsd-sockets-host-ent.texinfo @@ -163,5 +169,3 @@ with other things @include fun-sb-bsd-sockets-get-host-by-address.texinfo @include fun-sb-bsd-sockets-host-ent-address.texinfo - -@include fun-sb-bsd-sockets-name-service-error.texinfo