News SF.net Project Frequently Asked Questions Documentation Downloads Mailing Lists How to Contribute

SourceForge.net Logo

Changing the way games are made and played.

TNL::NetConnection::NetRate struct Reference

TNL::NetConnection::NetRate Struct Reference


Detailed Description

Rate management structure used specify the rate at which packets are sent and the maximum size of each packet.


Data Fields

U32 minPacketSendPeriod
 Minimum millisecond delay (maximum rate) between packet sends.

U32 minPacketRecvPeriod
 Minimum millisecond delay the remote host should allow between sends.

U32 maxSendBandwidth
 Number of bytes per second we can send over the connection.

U32 maxRecvBandwidth
 Number of bytes per second max that the remote instance should send.


Field Documentation

U32 TNL::NetConnection::NetRate::minPacketSendPeriod
 

Minimum millisecond delay (maximum rate) between packet sends.

U32 TNL::NetConnection::NetRate::minPacketRecvPeriod
 

Minimum millisecond delay the remote host should allow between sends.

U32 TNL::NetConnection::NetRate::maxSendBandwidth
 

Number of bytes per second we can send over the connection.

U32 TNL::NetConnection::NetRate::maxRecvBandwidth
 

Number of bytes per second max that the remote instance should send.