1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Debug on Server TCP

This commit is contained in:
mlafauci
2011-04-21 07:47:54 +02:00
parent 41bce76a03
commit 49912f241f
12 changed files with 153 additions and 110 deletions

View File

@ -149,8 +149,9 @@ void loop()
byte _status = 0;
Client client = server.available(&_status);
if (client) {
//Serial.print("Status: ");
//Serial.println(status, 16);
Serial.print("Status: ");
Serial.println(status, 16);
/*
byte idx = 0;
while (client.available())
{
@ -164,6 +165,7 @@ void loop()
server.write((char*)&dataBuf[0]);
}
return;
*/
}
}
}