spejsiot-sonoff_pow/soft/src/TcpPublish.h

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);
};