Stripped down version of Segundos NetService library (http://mbed.org/users/segundo/libraries/NetServices ). I have removed all NetServices, and all functions which had been disabled. Use this version when you need only pure TCP or UDP functions - this library compiles faster.

Dependencies:   lwip lwip-sys

Dependents:   christmasLights device_server pop3demo device_server_udp ... more

Revision:
1:9d93f4dc2f46
Parent:
0:8b387bed54c2
--- a/if/eth/EthernetNetIf.cpp	Mon Jan 10 21:03:11 2011 +0000
+++ b/if/eth/EthernetNetIf.cpp	Wed Jul 18 20:28:43 2012 +0000
@@ -63,7 +63,9 @@
 {
   if(m_pNetIf)
   {
+#if LWIP_IGMP
     igmp_stop(m_pNetIf); //Stop IGMP processing
+#endif
     netif_set_down(m_pNetIf);
     netif_remove(m_pNetIf);
     delete m_pNetIf;
@@ -78,7 +80,9 @@
 {
   if (m_setup)
   {
+#if LWIP_IGMP
     igmp_stop(m_pNetIf);
+#endif
     netif_set_down(m_pNetIf);
     netif_remove(m_pNetIf);
     delete m_pNetIf;