Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ void listenForEthernetClients() {
if (client) {
Serial.println("Got a client");
// an http request ends with a blank line
boolean currentLineIsBlank = true;
bool currentLineIsBlank = true;
while (client.connected()) {
if (client.available()) {
char c = client.read();
Expand Down
2 changes: 1 addition & 1 deletion examples/ChatServer/ChatServer.ino
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ IPAddress subnet(255, 255, 0, 0);

// telnet defaults to port 23
EthernetServer server(23);
boolean alreadyConnected = false; // whether or not the client was connected previously
bool alreadyConnected = false; // whether or not the client was connected previously

void setup() {
// You can use Ethernet.init(pin) to configure the CS pin
Expand Down
2 changes: 1 addition & 1 deletion examples/DhcpChatServer/DhcpChatServer.ino
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ IPAddress subnet(255, 255, 0, 0);

// telnet defaults to port 23
EthernetServer server(23);
boolean gotAMessage = false; // whether or not you got a message from the client yet
bool gotAMessage = false; // whether or not you got a message from the client yet

void setup() {
// You can use Ethernet.init(pin) to configure the CS pin
Expand Down
2 changes: 1 addition & 1 deletion examples/WebServer/WebServer.ino
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void loop() {
if (client) {
Serial.println("new client");
// an http request ends with a blank line
boolean currentLineIsBlank = true;
bool currentLineIsBlank = true;
while (client.connected()) {
if (client.available()) {
char c = client.read();
Expand Down