1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03:00

Added WebServer

This commit is contained in:
mlafauci
2011-04-21 19:16:39 +02:00
parent 49912f241f
commit ca1a1d8a9d
5 changed files with 108 additions and 9 deletions

View File

@ -29,10 +29,12 @@ Client Server::available(byte* status)
if (WiFiClass::_server_port[sock] != 0)
{
Client client(sock);
*status = client.status();
int _status = client.status();
if (status != NULL)
*status = _status;
if (WiFiClass::_server_port[sock] == _port &&
*status == ESTABLISHED)
_status == ESTABLISHED)
{
return client; //TODO
}