Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of WIZnetInterface by
Diff: Socket/TCPSocketConnection.h
- Revision:
- 30:206920aceb69
- Parent:
- 0:6f28332c466f
diff -r c91884bd2713 -r 206920aceb69 Socket/TCPSocketConnection.h
--- a/Socket/TCPSocketConnection.h Tue Nov 17 06:35:55 2015 +0000
+++ b/Socket/TCPSocketConnection.h Mon Nov 27 11:49:56 2017 +0000
@@ -72,7 +72,10 @@
\return the number of received bytes on success (>=0) or -1 on failure
*/
int receive_all(char* data, int length);
-
+
+ int getsock(void);
+ void setsock(int sock);
+
private:
bool _is_connected;
};
