stop(port, host = DEFAULT_HOST)
public
Stop the server running on the given port, bound to the given host
port |
port, as a FixNum, of the server to stop
|
host |
host on which to find the server to stop
|
# File lib/gserver.rb, line 97
def GServer.stop(port, host = DEFAULT_HOST)
@@servicesMutex.synchronize {
@@services[host][port].stop
}
end