W5500 driver for mbed OS 5

Dependents:   http-webserver-example mbed-os-example-sockets

Fork of W5500Interface by Sergei G

Revision:
4:80e302a610fd
Parent:
1:2dee44ea52a9
Child:
6:e2ab76b2be07
--- a/WIZnet/W5500.h	Wed Jul 05 18:37:40 2017 +0000
+++ b/WIZnet/W5500.h	Thu Jul 06 04:51:34 2017 +0000
@@ -148,6 +148,15 @@
     bool close(int socket);
 
     /*
+    * Check if status of socket is closed.
+    *
+    * Used by automatically open socket (bind to local address).
+    *
+    * @ returns true if socket is closed.
+    */
+    bool is_closed(int socket);
+
+    /*
     * @param str string to be sent
     * @param len string length
     */