From 8d917a3b8101aca1a8331f04d4402695e3d28ffd Mon Sep 17 00:00:00 2001 From: Domingos Bruges Date: Mon, 30 Dec 2013 03:29:49 +0000 Subject: [PATCH] Removed limitation on message size. Data Framing is now compliant with RFC6455 sections 5.6 / 5.7 --- README.md | 4 ++-- WSClient.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8191fce..3e6b1e3 100755 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Install the library to "libraries" folder in your Arduino sketchbook folder. Try the example that is shown bellow. ### Example -

+``` arduino
 #include <Ethernet.h>
 #include <SPI.h>
 #include <WSClient.h>
@@ -106,7 +106,7 @@ void loop() {
   delay(3000);  // wait to fully let the client disconnect
 
 }
-
+``` ### Credits Thank you to: diff --git a/WSClient.cpp b/WSClient.cpp index 537604f..50f06a1 100755 --- a/WSClient.cpp +++ b/WSClient.cpp @@ -320,9 +320,9 @@ char* WSClient::getData() { } void WSClient::sendData(char *str) { - //Serial.println(F("")); Serial.print(F("TX: ")); - //for (int i=0; iconnected()) { sendEncodedData(str); }