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.cpp
- Revision:
- 30:206920aceb69
- Parent:
- 0:6f28332c466f
diff -r c91884bd2713 -r 206920aceb69 Socket/TCPSocketConnection.cpp
--- a/Socket/TCPSocketConnection.cpp Tue Nov 17 06:35:55 2015 +0000
+++ b/Socket/TCPSocketConnection.cpp Mon Nov 27 11:49:56 2017 +0000
@@ -144,3 +144,11 @@
}
return readLen;
}
+
+int TCPSocketConnection::getsock(void) {
+ return _sock_fd;
+}
+
+void TCPSocketConnection::setsock(int sock){
+ _sock_fd=sock;
+}
\ No newline at end of file
