File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,8 @@ int WiFiClient::connect(IPAddress ip, uint16_t port) {
44
44
45
45
if (!connected ())
46
46
{
47
- Serial.println (" timeout on client connection" );
48
47
return 0 ;
49
48
}
50
- else
51
- Serial.println (" CONNECTED" );
52
49
}else {
53
50
Serial.println (" No Socket available" );
54
51
return 0 ;
@@ -134,7 +131,6 @@ void WiFiClient::stop() {
134
131
// wait a second for the connection to close
135
132
while (status () != CLOSED && millis () - start < 1000 )
136
133
delay (1 );
137
- Serial.print (" Stop client! Status:" );Serial.println (status (),10 );
138
134
_sock = 255 ;
139
135
}
140
136
@@ -144,12 +140,7 @@ uint8_t WiFiClient::connected() {
144
140
return 0 ;
145
141
} else {
146
142
uint8_t s = status ();
147
- /*
148
- if (s== SYN_SENT) Serial.print("*");
149
- else{
150
- Serial.print("Status:"); Serial.println(s,10);
151
- }
152
- */
143
+
153
144
return !(s == LISTEN || s == CLOSED || s == FIN_WAIT_1 ||
154
145
s == FIN_WAIT_2 || s == TIME_WAIT ||
155
146
s == SYN_SENT || s== SYN_RCVD ||
You can’t perform that action at this time.
0 commit comments