windows::CNetwork


All platform-dependent classes have been moved to Platform Package in release 10.0.0.

This class is available on Windows platform only

Corresponding class for Linux platform is here.

Corresponding class for Android platform is here.

Implementation of the INetwork interface for Windows platform.

This class should not be used alone. Use Application->getNetwork() to get access to the INetwork interface instead.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class CNetwork :public virtual INetwork
    {
    public:
        IClientSocket *TCPConnect(const String &server, const int port, const float timeout) override;
        IServerSocket *TCPListen(const int port) override;
    
        CNetwork();
        ~CNetwork();
    };
Namespace: nitisa::standard::windows
Include: Standard/Platform/Windows/Network.h