LUDPEndpoint is a PowerPlant class that is used for implementing Internet UDP endpoints. UDP is the sessionless protocol of the Internet, and is used by a handful of protocols such as NTP (network time protocol).
Methods :
The methods in this class are:
Data Members:
There are no data members in this class.
Operation:
In PowerPlant, there are two subclasses of LUDPEndpoint, named LMacUDPEndpoint and LOpenTptUDPEndpoint. The appropriate class is created automatically when you call UNetworkFactory::CreateUDPEndpoint().
Source files:
See also:
Purpose:
The constructor creates the object.
Access :
Prototype:
LUDPEndpoint();Parameters:
Purpose:
The destructor destroys the object.
Access :
Prototype:
~LUDPEndpoint();
Purpose:
Access :
Prototype:
void ReceiveFrom( LInternetAddress&
outRemoteAddress, void* outDataBuffer,
UInt32& ioDataSize,
UInt32 inTimeoutTicks = Timeout_None) = 0;Parameters:
The parameter for these constructors is:
Return:
Purpose:
Access :
Prototype:
void SendPacketData(
LInternetAddress& inRemoteHost,
void* inData,
UInt32 inDataSize) = 0;Parameters:
The parameter for these constructors is:
| LInternetAddress | inRemoteHost | The address. |
| void* | inData | The buffer. |
| UInt32& | inDataSize | The size of the data. |
Return: