File tree Expand file tree Collapse file tree 3 files changed +1
-8
lines changed
libraries/SocketWrapper/src Expand file tree Collapse file tree 3 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -65,12 +65,6 @@ uint8_t arduino::AClient::connected() {
6565 return client->connected ();
6666}
6767
68- uint8_t arduino::AClient::status () {
69- if (!client)
70- return false ;
71- return client->status ();
72- }
73-
7468IPAddress arduino::AClient::remoteIP () {
7569 if (!client)
7670 return INADDR_NONE;
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ class AClient : public Client {
3737
3838 virtual explicit operator bool ();
3939 virtual uint8_t connected ();
40- uint8_t status ();
4140
4241 IPAddress remoteIP ();
4342 uint16_t remotePort ();
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ class MbedClient {
5050
5151 void setNetwork (NetworkInterface* network) {_network = network;}
5252
53- uint8_t status ();
5453 int connect (SocketAddress socketAddress);
5554 virtual int connect (IPAddress ip, uint16_t port);
5655 virtual int connect (const char * host, uint16_t port);
@@ -108,6 +107,7 @@ class MbedClient {
108107 rtos::Mutex* mutex = nullptr ;
109108 unsigned long _timeout;
110109
110+ uint8_t status ();
111111 void readSocket ();
112112 void getStatus ();
113113};
You can’t perform that action at this time.
0 commit comments