13 #ifndef _ISTCPSERVER__H__ 14 #define _ISTCPSERVER__H__ 106 int Open(
const string& ipAddress,
int port);
125 int Write(
const uint8_t*
data,
int dataLength);
virtual void OnClientConnecting(cISTcpServer *server)
NMI_API SOCKET socket(uint16 u16Domain, uint8 u8Type, uint8 u8Flags)
virtual void OnClientConnected(cISTcpServer *server, socket_t socket)
virtual void OnClientConnectFailed(cISTcpServer *server)
USBInterfaceDescriptor data
virtual void OnClientDataReceived(cISTcpServer *server, socket_t socket, uint8_t *data, int dataLength)
iISTcpServerDelegate * m_delegate
vector< socket_t > m_clients
virtual void OnClientDisconnected(cISTcpServer *server, socket_t socket)