mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-16 07:23:07 +01:00
use async send for tcp connections
This commit is contained in:
@@ -7,11 +7,13 @@
|
||||
#include <WiFi.h>
|
||||
|
||||
using wiFiClientPtr = std::shared_ptr<WiFiClient>;
|
||||
class GwClient;
|
||||
using gwClientPtr = std::shared_ptr<GwClient>;
|
||||
class GwSocketServer{
|
||||
private:
|
||||
const GwConfigHandler *config;
|
||||
GwLog *logger;
|
||||
std::list<wiFiClientPtr> clients;
|
||||
std::list<gwClientPtr> clients;
|
||||
WiFiServer *server=NULL;
|
||||
public:
|
||||
GwSocketServer(const GwConfigHandler *config,GwLog *logger);
|
||||
|
||||
Reference in New Issue
Block a user