add getsock(), setsock()
Fork of WIZnetInterface by
Diff: Socket/TCPSocketConnection.cpp
- Revision:
- 24:7de48630cdef
- Parent:
- 0:6f28332c466f
diff -r 1a89f410e1e4 -r 7de48630cdef Socket/TCPSocketConnection.cpp --- 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