Lab_interaccio/2012/Edgard/Vdossier01/WiFly/WiFlyServer.h

19 lines
290 B
C
Raw Normal View History

2025-02-25 21:29:42 +01:00
#ifndef __SERVER_H__
#define __SERVER_H__
#include <stdint.h>
class WiFlyServer { // TODO: Should subclass Print to be consistent
public:
WiFlyServer (uint16_t port);
WiFlyClient& available();
void begin();
private:
uint16_t _port;
WiFlyClient activeClient;
};
#endif