update main WIZnetInterface library for supporting honeypot server
Fork of WIZnetInterface by
Update WIZnetInterface for supporting Honeypot server
Update sockets handling.
//add new type to enum status SOCK_TIMEOUT = 0x23,
Diff: Socket/TCPSocketServer.h
- Revision:
- 30:58f7cd21cf37
- Parent:
- 0:6f28332c466f
--- a/Socket/TCPSocketServer.h Tue Nov 17 06:35:55 2015 +0000 +++ b/Socket/TCPSocketServer.h Fri Sep 01 23:36:01 2017 +0000 @@ -28,6 +28,7 @@ public: /** Instantiate a TCP Server. */ + TCPSocketServer(); /** Bind a socket to a specific port. @@ -48,6 +49,7 @@ \return 0 on success, -1 on failure. */ int accept(TCPSocketConnection& connection); + int getPort(); private : int listen_port;