~registry/scalestack/trunk

« back to all changes in this revision

Viewing changes to scalestack/proxy/proxy.cc

  • Committer: Eric Day
  • Date: 2010-12-04 17:17:34 UTC
  • mfrom: (56.1.9)
  • Revision ID: git-v1:9c392b034d652023a4b28ae2976aca128bb856c2
Merged Eric's branch with style updates, config file support, and other cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
static void options(kernel::module& module)
26
26
{
27
 
  network::ip::tcp::listener_options(module, "7");
28
 
  module.add_option("client_host", "Host to proxy to.", "HOST", "127.0.0.1");
29
 
  module.add_option("client_port", "Port to proxy to.", "PORT", "12345");
 
27
  network::ip::tcp::listener_service::options(module, ":7");
 
28
  module.add_option("client_address", "Host:port to proxy to.", "HOST", "127.0.0.1:12345");
30
29
}
31
30
 
32
31
static void start(kernel::module& module)