jeong chanmi / WIZnetInterface_

Fork of WIZnetInterface by WIZnet

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