Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
SOCKETS::CSocketListener Class Reference

#include <Socket.h>

Public Member Functions

 CSocketListener ()
 
void AddSocket (CBaseSocket *)
 
bool Listen (int timeoutMs)
 
void Clear ()
 
CBaseSocketGetFirstReadySocket ()
 
CBaseSocketGetNextReadySocket ()
 

Protected Attributes

std::vector< CBaseSocket * > m_sockets
 
int m_iReadyCount
 
int m_iMaxSockets
 
int m_iCurrentSocket
 
fd_set m_fdset
 

Constructor & Destructor Documentation

◆ CSocketListener()

CSocketListener::CSocketListener ( )

Member Function Documentation

◆ AddSocket()

void CSocketListener::AddSocket ( CBaseSocket * sock)

◆ Clear()

void CSocketListener::Clear ( )

◆ GetFirstReadySocket()

CBaseSocket * CSocketListener::GetFirstReadySocket ( )

◆ GetNextReadySocket()

CBaseSocket * CSocketListener::GetNextReadySocket ( )

◆ Listen()

bool CSocketListener::Listen ( int timeoutMs)

Member Data Documentation

◆ m_fdset

fd_set SOCKETS::CSocketListener::m_fdset
protected

◆ m_iCurrentSocket

int SOCKETS::CSocketListener::m_iCurrentSocket
protected

◆ m_iMaxSockets

int SOCKETS::CSocketListener::m_iMaxSockets
protected

◆ m_iReadyCount

int SOCKETS::CSocketListener::m_iReadyCount
protected

◆ m_sockets

std::vector<CBaseSocket*> SOCKETS::CSocketListener::m_sockets
protected

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