X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-bsd-sockets%2Finet.lisp;h=51e79d39bef822a4fc68e33c2b70abc19ae747b2;hb=4bc6b918bb99e8dcd17bbe6479a06e52b2d04a6c;hp=f6a7c1771d1b1b084b90fcd634074165a35ce001;hpb=3bdadd34bc876d4f91f1ac781a77b4f41a506baf;p=sbcl.git diff --git a/contrib/sb-bsd-sockets/inet.lisp b/contrib/sb-bsd-sockets/inet.lisp index f6a7c17..51e79d3 100644 --- a/contrib/sb-bsd-sockets/inet.lisp +++ b/contrib/sb-bsd-sockets/inet.lisp @@ -1,21 +1,18 @@ (in-package :sb-bsd-sockets) -#||

INET-domain sockets

- -

The TCP and UDP sockets that you know and love. Some representation issues: -

- -|# - ;;; Our class and constructor (eval-when (:compile-toplevel :load-toplevel :execute) (defclass inet-socket (socket) - ((family :initform sockint::AF-INET)))) + ((family :initform sockint::AF-INET)) + (:documentation "Class representing TCP and UDP sockets. + +Examples: + + (make-instance 'inet-socket :type :stream :protocol :tcp) + + (make-instance 'inet-socket :type :datagram :protocol :udp) +"))) ;;; XXX should we *...* this? (defparameter inet-address-any (vector 0 0 0 0))