CTR Pia  4.11.3
Game Communication Engine
nn::pia::session::Mesh::StartupSetting Struct Reference

This structure stores settings passed to nn::pia::session::Mesh::Startup. More...

Public Attributes

size_t bitRateCheckPacketSize
 Specifies the IP packet size used for testing when using the bitrate detection feature. The value is in bytes. The expected value is the average size of IP packet sent and received by the application. It must be a multiple of 4. The default is 0.
 
s32 bitRateMeasuringSpan
 Sets the time to spend measuring when the bit rate detection feature is used. The value is in milliseconds. The default is 1000 msec. Changing this value from the default is not recommended.
 
bool bUsingHostMigration
 Sets the use of the host migration feature. The default is true (enabled).
 
bool isSkipBitRateCheck
 Set to skip detection processes when using bitrate detection. Specify true to skip. The default is false.
 
u32 keepAliveSendingInterval
 Specifies the send interval for keep-alive (in milliseconds). The default value is session::NN_PIA_SESSION_KEEP_ALIVE_INTERVAL_DEFAULT.
 
u32 maxSilenceTime
 Specifies the maximum allowable time without communication (in milliseconds). The default value is session::NN_PIA_SESSION_MAX_SILENCE_TIME_DEFAULT. The maximum value that can be set is session::NN_PIA_SESSION_MAX_SILENCE_TIME_MAX, the minimum value is session::NN_PIA_SESSION_MAX_SILENCE_TIME_MIN.
 
const nn::pia::common::CryptoSettingpCryptoSetting
 Specifies a pointer that points to a structure for configuring encryption. No encryption is configured if NULL is specified. The default is NULL.
 
const nn::pia::transport::Station::PlayerNamepPlayerName
 Specifies the name and language code associated with the local station. Other members of the mesh access this information.
 
const nn::pia::transport::Station::IdentificationTokenpToken
 Specifies a pointer to the identification token indicating the local device. If NULL is specified, an identification token with all data set to NULL is used. The default is NULL.
 
nn::pia::common::SignatureSetting signatureSetting
 Specifies a properly configured instance of the class used to specify packet-signature settings. The default value for this parameter is unsigned.
 
s32 uplinkBitRateLowerLimit
 Specifies the minimum rate required by the application when using the bitrate detection feature. The value is in bits per second. The default value is session::NN_PIA_SESSION_INVALID_UPLINK_BIT_RATE_LOWER_LIMIT.
 

Detailed Description

This structure stores settings passed to nn::pia::session::Mesh::Startup.