mbed socket API

Dependents:   EthernetInterface EthernetInterface_RSF EthernetInterface EthernetInterface ... more

Deprecated

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

Revision:
6:cd2e5559786d
Parent:
5:300e7ad2dc1d
Child:
16:2d471deff212
--- a/Endpoint.cpp	Thu Jul 26 15:07:32 2012 +0000
+++ b/Endpoint.cpp	Fri Jul 27 13:58:53 2012 +0000
@@ -21,7 +21,9 @@
 
 using std::memset;
 
-Endpoint::Endpoint()  {}
+Endpoint::Endpoint()  {
+    reset_address();
+}
 Endpoint::~Endpoint() {}
 
 void Endpoint::reset_address(void) {