X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-bsd-sockets%2Fdefpackage.lisp;h=e431cf36086c97b6e22eb741e7566100d3133c42;hb=1f77eb1b15dad4e51c64133cd354dab2de11013e;hp=a99bea249227bbaa9b6d67c86b3d6d6ac2acde75;hpb=bb9313c336417fedcdee98d5eaef3db75d6026dc;p=sbcl.git diff --git a/contrib/sb-bsd-sockets/defpackage.lisp b/contrib/sb-bsd-sockets/defpackage.lisp index a99bea2..e431cf3 100644 --- a/contrib/sb-bsd-sockets/defpackage.lisp +++ b/contrib/sb-bsd-sockets/defpackage.lisp @@ -1,9 +1,14 @@ +#+(and sbcl win32) +(defpackage "SB-WIN32-SOCKETS-INTERNAL" + (:nicknames "WIN32SOCKINT") + (:shadow close listen) + (:use "COMMON-LISP" "SB-ALIEN" "SB-EXT" "SB-C-CALL")) + (defpackage "SB-BSD-SOCKETS-INTERNAL" (:nicknames "SOCKINT") (:shadow close listen) #+cmu (:shadowing-import-from "CL" with-array-data) #+sbcl (:shadowing-import-from "SB-KERNEL" with-array-data) - #+cmu (:use "COMMON-LISP" "ALIEN" "SYSTEM" "EXT" "C-CALL") #+sbcl (:use "COMMON-LISP" "SB-ALIEN" #+nil "SB-SYSTEM" "SB-EXT" "SB-C-CALL")) @@ -36,13 +41,13 @@ socket-send socket-receive socket-recv socket-name socket-peername socket-listen socket-close socket-file-descriptor - socket-family socket-protocol socket-type - socket-make-stream get-protocol-by-name + socket-family socket-protocol socket-open-p + socket-type socket-make-stream get-protocol-by-name get-host-by-name get-host-by-address host-ent host-ent-addresses host-ent-address - host-ent aliases host-ent-name + host-ent-aliases host-ent-name name-service-error ;; not sure if these are really good names or not netdb-internal-error @@ -50,20 +55,23 @@ host-not-found-error try-again-error no-recovery-error - - ;; all socket options are also exported, by code in - ;; sockopt.lisp - socket-error + unknown-protocol + + ;; all socket options are also exported, by code in + ;; sockopt.lisp + + socket-error + + ;; other errno-based socket errors are exported by code in + ;; sockets.lisp - ;; other errno-based socket errors are exported by code in - ;; sockets.lisp - make-inet-address non-blocking-mode ) (:use "COMMON-LISP" "SB-BSD-SOCKETS-INTERNAL") + (:import-from "SB-INT" "UNSUPPORTED-OPERATOR" "FEATUREP") (:documentation " @@ -87,7 +95,7 @@ arguments to fit Lisp style more closely.
  • Methods applicable to a particular subclass
    1. INET-SOCKET - Internet Protocol (TCP, UDP, raw) sockets -
    2. Methods on LOCAL-SOCKET - Local-domain sockets +
    3. Methods on LOCAL-SOCKET - Local-domain sockets
  • Name resolution (DNS, /etc/hosts, &c) @@ -124,7 +132,7 @@ than "network-endian integers". See the section on