No more update~~ please use W5500Interface.

Fork of EthernetInterfaceW5500 by Bongjun Hur


Bongjun Hur wrote:

NO more update for this library.

Please move to this page W5500Interface for newer version.

Import libraryW5500Interface

This is the Interface library for WIZnet W5500 chip which forked of EthernetInterfaceW5500, WIZnetInterface and WIZ550ioInterface. This library has simple name as "W5500Interface". and can be used for Wiz550io users also.

This Library for W5500 users. no need to use lwIP(or S/W TCP/IP) Some update & code clean for W5500 only refer from WIZ550ioInterface, WIZnetLibrary and WiflyInterface.

Thanks for ban4jp. This library forks of WIZ550ioInterface.

Revision:
12:d130abe9d4a8
Parent:
1:fb4494783863
--- a/Socket/TCPSocketServer.h	Thu Jul 17 07:13:27 2014 +0000
+++ b/Socket/TCPSocketServer.h	Mon Jul 21 05:12:11 2014 +0000
@@ -23,30 +23,34 @@
 
 /** TCP Server.
   */
-class TCPSocketServer : public Socket {
-  public:
+class TCPSocketServer : public Socket
+{
+public:
     /** Instantiate a TCP Server.
     */
     TCPSocketServer();
-    
+
     /** Bind a socket to a specific port.
     \param port The port to listen for incoming connections on.
     \return 0 on success, -1 on failure.
     */
     int bind(int port);
-    
+
     /** Start listening for incoming connections.
     \param backlog number of pending connections that can be queued up at any
                    one time [Default: 1].
     \return 0 on success, -1 on failure.
     */
     int listen(int backlog=1);
-    
+
     /** Accept a new connection.
     \param connection A TCPSocketConnection instance that will handle the incoming connection.
     \return 0 on success, -1 on failure.
     */
     int accept(TCPSocketConnection& connection);
+private :
+    int listen_port;
+
 };
 
 #endif