From: "David G. Andersen" Date: 2004-11-07T09:36:31+09:00 Subject: Re: WEBrick listening on multiple ports? On Sun, Nov 07, 2004 at 09:26:48AM +0900, Lloyd Zusman scribed: > It's trivial to do this with a single port, but is there a way to use > WEBrick to listen on a range of ports in this manner? If so, could > someone point me to an example or some docs? brick = HTTPServer.new(...) myports.each { |p| brick.listen(address, p) } Works like a charm. -Dave -- work: dga@lcs.mit.edu me: dga@pobox.com MIT Laboratory for Computer Science http://www.angio.net/