Corresponding class for Windows platform is here.
Corresponding class for Android platform is here.
Implementation of the IServerSocket interface for Linux platform.
This class should not be used alone. The instance of this class is created by the Application->getNetwork()->TCPListen()
method which is used to create new TCP server listening connection at specified port. See INetwork to find out about TCPListen()
arguments and result type.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class CServerSocket :public virtual IServerSocket, public CSocket
{
public:
IServerSocketListener *getListener() override;
void setListener(IServerSocketListener *value) override;
void Terminate() override;
bool Listen() override;
CServerSocket(SOCKET_HANDLE socket, const AnsiString &local_ip, const AnsiString &remote_ip, const int local_port, const int remote_port);
};
Namespace: | nitisa::standard::linux |
Include: | Standard/Platform/Linux/ServerSocket.h |