class Steamcr::Networking::TcpConnection

Defined in:

steamcr/network/tcp_connection.cr

Constant Summary

TCP_MAGIC = "VT01"

Valve's TCP Packet identifier

Instance Method Summary

Instance methods inherited from class Steamcr::Networking::Connection

close close, connect(server : Server) connect, read : Bytes | Nil read, write(data : Bytes) write

Instance Method Detail

def close #

[View source]
def connect(server : Server) #

[View source]
def read : Bytes | Nil #

[View source]
def set_key(key : Bytes) #

[View source]
def write(data : Bytes) #

[View source]