API for server-socket - clojure-contrib v1.1 (stable)

by Craig McDaniel

clojure-contrib is now deprecated

clojure-contrib is no longer being developed or maintained.

Rather than a single, monolithic, contributions library, Clojure now has a set of separate libraries for each unit of functionality. The libraries are in the Clojure GitHub organization at https://github.com/clojure. API documentation of the libraries can be found at https://clojure.github.io.

If you're looking for a specific function or namespace from the old clojure-contrib, see "Where Did Clojure.Contrib Go".


Full namespace name: clojure.contrib.server-socket

Overview

Server socket library - includes REPL on socket

Public Variables and Functions



create-repl-server

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (create-repl-server port backlog bind-addr)
       (create-repl-server port backlog)
       (create-repl-server port)
create a repl on a socket
Source


create-server

function
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (create-server port fun backlog bind-addr)
       (create-server port fun backlog)
       (create-server port fun)
Creates a server socket on port. Upon accept, a new thread is
created which calls:

(fun input-stream output-stream)

Optional arguments support specifying a listen backlog and binding
to a specific endpoint.
Source
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.