diff --git a/src/tiny_websockets/network/generic_esp/generic_esp_clients.hpp b/src/tiny_websockets/network/generic_esp/generic_esp_clients.hpp index 1c146a9..260ab21 100644 --- a/src/tiny_websockets/network/generic_esp/generic_esp_clients.hpp +++ b/src/tiny_websockets/network/generic_esp/generic_esp_clients.hpp @@ -8,7 +8,7 @@ namespace websockets { namespace network { class GenericEspTcpClient : public TcpClient { public: GenericEspTcpClient(WifiClientImpl c) : client(c) { - client.setNoDelay(true); + //client.setNoDelay(true); } GenericEspTcpClient() {} @@ -16,7 +16,7 @@ namespace websockets { namespace network { bool connect(const WSString& host, const int port) { yield(); auto didConnect = client.connect(host.c_str(), port); - client.setNoDelay(true); + //client.setNoDelay(true); return didConnect; }