add getsock(), setsock()

Fork of WIZnetInterface by IOP

Revision:
24:7de48630cdef
Parent:
0:6f28332c466f
--- a/Socket/TCPSocketConnection.cpp	Thu Sep 03 01:10:54 2015 +0000
+++ b/Socket/TCPSocketConnection.cpp	Wed Nov 22 06:03:30 2017 +0000
@@ -144,3 +144,10 @@
     }
     return readLen;
 }
+int TCPSocketConnection::getsock(void) {
+	return _sock_fd;
+}
+
+void TCPSocketConnection::setsock(int sock){
+	_sock_fd=sock;
+}
\ No newline at end of file