class Servers

Defined in:

models/servers.cr

Constant Summary

Log = ::App::Log.for("servers")

Class Method Summary

Class Method Detail

def self.accept_clients(sessions, server, port, manager) #

===================== Connection management


[View source]
def self.close_client_connection(server_port, remote_ip, client_id) #

[View source]
def self.close_tcp_server(port : Int32, session : Session) #

[View source]
def self.handle_client(sessions, client, port, manager) #

[View source]
def self.open_tcp_server(port : Int32, session : Session) #

[View source]
def self.send_client_data(server_port, remote_ip, client_id, data : Bytes) #

[View source]
def self.stats #

[View source]