test
Diff: UDPPacket.h
- Revision:
- 8:9cf9c2d45264
- Parent:
- 5:300e7ad2dc1d
diff -r ac5f77f4497a -r 9cf9c2d45264 UDPPacket.h --- a/UDPPacket.h Fri Jul 27 14:22:45 2012 +0000 +++ b/UDPPacket.h Fri Jul 27 15:50:23 2012 +0000 @@ -24,13 +24,23 @@ // Forward declaration class UDPSocket; +/** UDP Packet + */ class UDPPacket : public Endpoint { friend class UDPSocket; public: + /** UDP Packet + \param buffer Pointer to the data buffer for this packet + \param length length of the data buffer + */ UDPPacket(char* buffer, unsigned int length); ~UDPPacket() {} + /** Set the data buffer for this packet + \param buffer Pointer to the data buffer for this packet + \param length length of the data buffer + */ void set_data(char* buffer, unsigned int length); private: