1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-01 03:47:23 +03:00

Merge remote-tracking branch 'amcewen/wifly_integration' into new-extension

This commit is contained in:
David A. Mellis
2011-08-31 14:25:04 -04:00
36 changed files with 333 additions and 140 deletions

View File

@ -29,7 +29,7 @@ IPAddress gateway(192,168,1, 1);
IPAddress subnet(255, 255, 0, 0);
// telnet defaults to port 23
Server server(23);
EthernetServer server(23);
boolean gotAMessage = false; // whether or not you got a message from the client yet
void setup() {
@ -43,7 +43,7 @@ void setup() {
void loop() {
// wait for a new client:
Client client = server.available();
EthernetClient client = server.available();
// when the client sends the first byte, say hello:
if (client) {