method
new
v2_1_10 -
Show latest stable
- Class:
GServer
new(port, host = DEFAULT_HOST, maxConnections = 4, stdlog = $stderr, audit = false, debug = false)public
port |
the port, as a Fixnum, on which to listen |
host |
the host to bind to |
maxConnections |
the maximum number of simultaneous connections to accept |
stdlog |
|
audit |
if true, lifecycle callbacks will be called. See #audit |
debug |
if true, error messages are logged. See #debug |