swank.lisp 304 B

123456789101112
  1. (require :swank)
  2. (swank-loader:init)
  3. (defcommand swank (port) ((:string "Port number: "))
  4. (sb-thread:make-thread
  5. (lambda ()
  6. (let ((swank::*loopback-interface* "127.0.0.1"))
  7. (swank:create-server :port (parse-integer port)
  8. :dont-close t)))
  9. :name "swank"))