Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (16 sloc) 526 Bytes

threaded_server

Description

A generic TCP Server with a fixed-size Thread Pool.

Examples

require 'threaded_server'

ThreadedServer.open('127.0.0.1',8080) do |socket|
  socket.puts Time.now
end

Install

$ gem install threaded_server

Copyright

Copyright (c) 2011 Hal Brodigan

See {file:LICENSE.txt} for details.