From: Joe C. <hol...@gm...> - 2013-03-18 10:33:53
|
On Mon, Mar 18, 2013 at 10:00 AM, Nikodemus Siivola <nik...@ra...> wrote: >> (defun close-active-socket (socket) >> #+sbcl (sb-bsd-sockets:socket-close socket) >> #-sbcl (close socket)) > > Just on the basis of the error message, that should read > > (defun close-active-socket (socket) > (close socket)) > > instead. > > It is however possible that there is some confusion elsewhere in the > code, mixing up socket objects and socket streams -- if that's what's > going on, then the confusion needs to be sorted out first. Hi Nikodemus: I saw this idea in the IRC post I mentioned -- and I tried the change, but this led to another similar error: ;; Error The function COMMON-LISP-USER::PREM is undefined. [11-modlisp-worker] Error: There is no applicable method for the generic function #<STANDARD-GENERIC-FUNCTION SB-GRAY::PCL-CLOSE (2)> when called with arguments (#<SB-BSD-SOCKETS:INET-SOCKET fd: 7 {ACFABF1}>). Joe |