Content


NTL
Core
INetwork

INetwork


Describes platform network. You may access it via IApplication getNetwork() method.

You can find more information in comments below.

class INetwork
{
public:
    virtual IClientSocket *TCPConnect(const String &server, const int port, const float timeout) = 0; // Create client connection to specified address and port 
    virtual IServerSocket *TCPListen(const int port) = 0; // Create server connection on specified port 
};
Namespace: nitisa
Include: Nitisa/Interfaces/INetwork.h