Module: MaxCube::Network

Defined in:
lib/maxcube/network.rb,
lib/maxcube/network/tcp.rb,
lib/maxcube/network/udp.rb,
lib/maxcube/network/tcp/client.rb,
lib/maxcube/network/udp/client.rb,
lib/maxcube/network/tcp/sample_server.rb,
lib/maxcube/network/udp/sample_socket.rb,
lib/maxcube/network/tcp/client/commands.rb

Overview

Encapsulates network structures providing clients and servers that comply Cube messages protocol. It utilizes parsing and serializing features from Messages.

Defined Under Namespace

Modules: TCP, UDP

Constant Summary collapse

LOCALHOST =

Common localhost IP address.

'localhost'.freeze
BROADCAST =

Common broadcast IP address.

'<broadcast>'.freeze