X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=contrib%2Fsb-bsd-sockets%2Fsb-bsd-sockets.texinfo;h=3276ba270a3393890915e5dead1e384a64753cc9;hb=10cdee0326e9e8a5bbfe1d8312a73d58f023fb5f;hp=c72663803c93aaee3044f1b018aecc0ac5f3753a;hpb=ece943d69084c4d58ca19d48bca7450cd3e45561;p=sbcl.git diff --git a/contrib/sb-bsd-sockets/sb-bsd-sockets.texinfo b/contrib/sb-bsd-sockets/sb-bsd-sockets.texinfo index c726638..3276ba2 100644 --- a/contrib/sb-bsd-sockets/sb-bsd-sockets.texinfo +++ b/contrib/sb-bsd-sockets/sb-bsd-sockets.texinfo @@ -1,10 +1,11 @@ -@node sb-bsd-sockets -@section sb-bsd-sockets +@node Networking +@comment node-name, next, previous, up +@chapter Networking @cindex Sockets, Networking -The @code{sb-bsd-sockets} module provides a thinly disguised BSD socket -API for SBCL. Ideas stolen from the BSD socket API for C and Graham -Barr's IO::Socket classes for Perl. +The @code{sb-bsd-sockets} module provides a thinly disguised BSD +socket API for SBCL. Ideas have been stolen from the BSD socket API +for C and Graham Barr's IO::Socket classes for Perl. Sockets are represented as CLOS objects, and the API naming conventions attempt to balance between the BSD names and good lisp style. @@ -19,7 +20,7 @@ conventions attempt to balance between the BSD names and good lisp style. @end menu @node Sockets Overview -@subsection Sockets Overview +@section Sockets Overview Most of the functions are modelled on the BSD socket API. BSD sockets are widely supported, portably @emph{(``portable'' by Unix standards, at least)} @@ -50,7 +51,7 @@ than "network-endian integers". @end itemize @node General Sockets -@subsection General Sockets +@section General Sockets @include class-sb-bsd-sockets-socket.texinfo @@ -68,6 +69,8 @@ than "network-endian integers". @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 @@ -77,7 +80,7 @@ than "network-endian integers". @include fun-sb-bsd-sockets-non-blocking-mode.texinfo @node Socket Options -@subsection Socket Options +@section Socket Options A subset of socket options are supported, using a fairly general framework which should make it simple to add more as required - see @@ -105,7 +108,7 @@ sockopt-receive-low-water)}. @include fun-sb-bsd-sockets-sockopt-tcp-nodelay.texinfo @node INET Domain Sockets -@subsection INET Domain Sockets +@section INET Domain Sockets The TCP and UDP sockets that you know and love. Some representation issues: @@ -131,7 +134,7 @@ port, so for example, (socket-connect s #(192 168 1 1) 80). @include fun-sb-bsd-sockets-get-protocol-by-name.texinfo @node Local (Unix) Domain Sockets -@subsection Local (Unix) Domain Sockets +@section Local (Unix) Domain Sockets Local domain (@code{AF_LOCAL}) sockets are also known as Unix-domain sockets, but were renamed by POSIX presumably on the basis that they @@ -144,7 +147,7 @@ across a network. @include class-sb-bsd-sockets-local-socket.texinfo @node Name Service -@subsection Name Service +@section Name Service Presently name service is implemented by calling whatever @code{gethostbyname(2)} uses. This may be any or all of