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.
Diff: Endpoint.h
- Revision:
- 11:3d83c348fb8b
- Parent:
- 8:9cf9c2d45264
- Child:
- 16:2d471deff212
--- 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)
mbed official


