add getsock(), setsock()
Fork of WIZnetInterface by
Diff: Socket/TCPSocketConnection.h
- Revision:
- 24:7de48630cdef
- Parent:
- 0:6f28332c466f
--- a/Socket/TCPSocketConnection.h Thu Sep 03 01:10:54 2015 +0000 +++ b/Socket/TCPSocketConnection.h Wed Nov 22 06:03:30 2017 +0000 @@ -72,6 +72,8 @@ \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;