NetworkSocketAPI
Dependents: HelloWizFi250Interface
Fork of NetworkSocketAPI by
Diff: Socket.h
- Branch:
- api-changes
- Revision:
- 38:157fb2ab965f
- Parent:
- 34:c17745683385
- Child:
- 41:3ec1c97e9bbf
--- a/Socket.h Tue Feb 23 17:35:56 2016 +0000 +++ b/Socket.h Mon Feb 22 20:51:09 2016 -0600 @@ -53,6 +53,11 @@ */ uint16_t getPort() const; + /** Returns status of socket + * @return true if connected + */ + bool isConnected(); + /** Open a connection to the underlying address * @param url Optional URL or IP address to connect to