1.2.0 permalink Arrow_down_16x16
  • (close-server server)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/server_socket.clj:68 top

(defn close-server [server]
  (doseq [s @(:connections server)]
    (close-socket s))
  (dosync (ref-set (:connections server) #{}))
  (.close ^ServerSocket (:server-socket server)))
Vars in clojure.contrib.server-socket/close-server: defn doseq dosync ref-set
Used in 0 other vars

Comments top

No comments for close-server. Log in to add a comment.