Re: sleep for wifi repeater
Posted: Mon Feb 12, 2018 5:07 pm
I'm trying but i can't connect to port 7777. Here is my code:
// Use WiFiClient class to create TCP connections
WiFiClient client;
const int httpPort = 7777;
if (!client.connect(host, httpPort)) {
Serial.println("connection failed");
return;
}
Any reason you can think why i cant connect?
// Use WiFiClient class to create TCP connections
WiFiClient client;
const int httpPort = 7777;
if (!client.connect(host, httpPort)) {
Serial.println("connection failed");
return;
}
Any reason you can think why i cant connect?