Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MCRecvFromResult Class Reference

Class to hold the return value of the MCSocket::recvFrom() method. More...

#include <mcllib/MCSocket.h>

List of all members.

Public Member Functions

const MCNetAddrgetRecvFrom () const
 Get the address data was received from.
mcuint32 getRecvSize () const
 Get the amount of data received.

Friends

class mclpriv::MCNetAddrFactory


Detailed Description

Class to hold the return value of the MCSocket::recvFrom() method.

Encapsulates an address and the number of octets (bytes) received from the address.


Member Function Documentation

const MCNetAddr& getRecvFrom  )  const
 

Get the address data was received from.

Returns:
the address the data was received from

mcuint32 getRecvSize  )  const
 

Get the amount of data received.

Returns:
the amount of data in octets (bytes) received


Generated on Wed Jan 12 19:05:49 2005 for MCLLIB by  doxygen 1.3.9.1