Modify changes to test TCP socket.

Dependents:   EthernetInterface

Fork of Socket by mbed official

Revision:
11:3d83c348fb8b
Parent:
8:9cf9c2d45264
Child:
16:2d471deff212
diff -r d24738f4ef99 -r 3d83c348fb8b Endpoint.h
--- a/Endpoint.h	Tue Jul 31 11:50:55 2012 +0000
+++ b/Endpoint.h	Wed Aug 01 13:02:32 2012 +0000
@@ -18,10 +18,13 @@
 #ifndef ENDPOINT_H
 #define ENDPOINT_H
 
+class UDPSocket;
+
 /**
 IP Endpoint (address, port)
 */
 class Endpoint {
+    friend class UDPSocket;
 
 public:
     /** IP Endpoint (address, port)