Skip to content

Commit

Permalink
Removed limitation on message size. Data Framing is now compliant wit…
Browse files Browse the repository at this point in the history
…h RFC6455 sections 5.6 / 5.7
  • Loading branch information
Domingos Bruges committed Dec 30, 2013
1 parent 8389ef1 commit 8d917a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Install the library to "libraries" folder in your Arduino sketchbook folder.
Try the example that is shown bellow.

### Example
<pre><code>
``` arduino
#include &ltEthernet.h>
#include &ltSPI.h>
#include &ltWSClient.h>
Expand Down Expand Up @@ -106,7 +106,7 @@ void loop() {
delay(3000); // wait to fully let the client disconnect
}
</code></pre>
```

### Credits
Thank you to:
Expand Down
6 changes: 3 additions & 3 deletions WSClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,9 @@ char* WSClient::getData() {
}

void WSClient::sendData(char *str) {
//Serial.println(F("")); Serial.print(F("TX: "));
//for (int i=0; i<strlen(str); i++)
// Serial.print(str[i]);
// Serial.println(F("")); Serial.print(F("TX: "));
// for (int i=0; i<strlen(str); i++)
// Serial.print(str[i]);
if (socket_client->connected()) {
sendEncodedData(str);
}
Expand Down

0 comments on commit 8d917a3

Please sign in to comment.