Clojure TCP server library
Latest commit 553607c Jun 4, 2011 @weavejester Released 0.1.0
Failed to load latest commit information.
src/net/tcp Added wrap-streams and wrap-io functions Jun 1, 2011
.gitignore Initial commit May 29, 2011 Added very basic README Jun 4, 2011
project.clj Released 0.1.0 Jun 4, 2011


A Clojure library for creating TCP servers. Similar in scope to the clojure.contrib.server-socket library, but without the baggage of having to depend on Clojure-Contrib.


This will create a small server that sends "Hello World" to any connecting client, then closes the connection.

(use 'net.tcp.server)

(defn handler [reader writer]
  (.append writer "Hello World"))

(def server
    :port    5000
    :handler (wrap-io handler)))

(start server)


Copyright (C) 2011 FIXME

Distributed under the Eclipse Public License, the same as Clojure.