13 lines
257 B
C
13 lines
257 B
C
|
#include <stdint.h>
|
||
|
|
||
|
class TcpPublish: public TcpServer {
|
||
|
public:
|
||
|
TcpPublish();
|
||
|
int write(const char * str, int len);
|
||
|
Vector<TcpClient*> clients;
|
||
|
|
||
|
protected:
|
||
|
void onClient(TcpClient* client);
|
||
|
void onClientComplete(TcpClient* client);
|
||
|
};
|