mbed IP library over Ethernet

Dependencies:   lwip-eth Socket lwip lwip-sys

Dependents:   denki-yohou_b Network-RTOS NTPClient_HelloWorld temp_FIAP ... more

Legacy Networking Libraries

This is an mbed 2 networking library. For mbed 5, the networking libraries have been revised to better support additional network stacks and thread safety here.

Revision:
21:8cd2de462559
Parent:
20:0d9ae7845bfe
Child:
23:5d5b40c4378b
--- a/EthernetInterface.h	Wed Aug 01 13:02:38 2012 +0000
+++ b/EthernetInterface.h	Fri Aug 03 14:43:57 2012 +0000
@@ -45,9 +45,10 @@
 
   /** Connect
   * Bring the interface up, start DHCP if needed.
+  * \param   timeout_ms  timeout in ms (default: (3)s).
   * \return 0 on success, a negative number on failure
   */
-  static int connect();
+  static int connect(unsigned int timeout_ms=3000);
   
   /** Disconnect
   * Bring the interface down