Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

TNL::PacketStream Class Reference

PacketStream provides a network interface to the BitStream for easy construction of data packets. More...

#include <tnlBitStream.h>

Inheritance diagram for TNL::PacketStream:

TNL::BitStream List of all members.

Public Methods

 PacketStream (U32 targetPacketSize=MaxPacketDataSize)
 Constructor assigns the internal buffer to the BitStream.

NetError sendto (Socket &outgoingSocket, const Address &theAddress)
 Sends this packet to the specified address through the specified socket.

NetError recvfrom (Socket &incomingSocket, Address *recvAddress)
 Reads a packet into the stream from the specified socket.


Detailed Description

PacketStream provides a network interface to the BitStream for easy construction of data packets.

Definition at line 390 of file tnlBitStream.h.


The documentation for this class was generated from the following files:
Generated on Thu Aug 18 16:03:39 2005 for Robin Hood: Thieves & Knights by doxygen1.2.18