Oficina Framework  1.3
Games Framework
OficinaFramework::NetworkSystem Class Reference

Manages all data sending and receiving over network. More...

#include <NetworkSystem.hpp>

Classes

struct  Address
 A struct representing an IPv4 address. More...
 
class  Socket
 A class representing a socket, used to control ports for comunication with other computers around the web. More...
 

Static Public Member Functions

static void init ()
 Initializes the system. More...
 
static void dispose ()
 Disposes the system. More...
 
static bool IsInitialized ()
 Shows if the network system has been initialized. More...
 

Static Public Attributes

static const word DefaultPort = 1246
 Default socket port for OficinaFramework. More...
 

Detailed Description

Manages all data sending and receiving over network.

See also
http://gafferongames.com/

Member Function Documentation

◆ dispose()

static void OficinaFramework::NetworkSystem::dispose ( )
static

Disposes the system.

◆ init()

static void OficinaFramework::NetworkSystem::init ( )
static

Initializes the system.

Exceptions
SystemInitializationErrorException

◆ IsInitialized()

static bool OficinaFramework::NetworkSystem::IsInitialized ( )
static

Shows if the network system has been initialized.

Returns
Whether it is initialized or not.

Member Data Documentation

◆ DefaultPort

const word OficinaFramework::NetworkSystem::DefaultPort = 1246
static

Default socket port for OficinaFramework.


The documentation for this class was generated from the following file: