REPL Error, during Socket creation
(ns myns
[:use clojure.contrib.server-socket])
(defn handler [in out] (print "invoked"))
(create-server 8080 handler)
java.net.SocketException: Unrecognized Windows Sockets error: 10106: create (NO_SOURCE_FILE:0)
* the same code runs without any error when the entire file is run directly outside repl.
* Am I doing something wrong?
请先登录再写评论。