TeamTalk 4 .NET DLL  Version 4.5A
BearWare.ServerProperties Struct Reference

A struct containing the properties of the server's settings. More...

Public Attributes

string szServerName
 The server's name. More...
 
string szServerPasswd
 The server's password to login. Users must provide this in the TeamTalk4.DoLogin() command. When extracted through TeamTalk4.GetServerProperties() the password will only be set for users of user-type UserType USERTYPE_ADMIN. More...
 
string szMOTD
 The message of the day. When updating the MOTD an admin can use the variables users% (number of users), admins% (number of admins), uptime% (hours, minutes and seconds the server has been online), voicetx% (KBytes transmitted), voicerx% (KBytes received) and lastuser% (nickname of last user to log on to the server) as part of the MOTD. More...
 
string szMOTDRaw
 The message of the day including variables. This property is only set for UserType USERTYPE_ADMIN users. Read-only property. More...
 
UserRight uUserRights
 A bitmask based on UserRight which specifies the rights a user have who logs onto the server. More...
 
int nMaxUsers
 The maximum number of users allowed on the server. A user with admin account can ignore this. More...
 
int nMaxLoginAttempts
 The maximum number of logins with wrong password before banning user's IP-address. More...
 
int nMaxLoginsPerIPAddress
 The maximum number of users allowed to log in with the same IP-address. 0 means disabled. More...
 
int nAudioCodecBpsLimit
 Bandwidth restriction for audio codecs created by non-administrators. This value will hold the highest bitrate which is allowed for audio codecs. 0 = no limit. More...
 
int nMaxAudioTxPerSecond
 The maximum number of bytes per second which the server will allow for audio packets. If this value is exceeded the server will start dropping audio packets. 0 = disabled. More...
 
int nMaxVideoTxPerSecond
 The maximum number of bytes per second which the server will allow for audio packets. If this value is exceeded the server will start dropping video packets. 0 = disabled. More...
 
int nMaxDesktopTxPerSecond
 The maximum number of bytes per second which the server will allow for desktop packets. If this value is exceeded the server will start dropping desktop packets. 0 = disabled. More...
 
int nMaxTotalTxPerSecond
 The amount of bytes per second which the server will allow for packet forwarding. If this value is exceeded the server will start dropping packets. 0 = disabled. More...
 
bool bAutoSave
 Whether the server automatically saves changes. More...
 
int nTcpPort
 The server's TCP port. More...
 
int nUdpPort
 The server's UDP port. More...
 
int nUserTimeout
 The number of seconds before a user who hasn't responded to keepalives will be kicked off the server. More...
 
string szServerVersion
 The server version. More...
 
string szServerProtocolVersion
 The version of the server's protocol. More...
 

Detailed Description

A struct containing the properties of the server's settings.

The server properties is available after a successful call to TeamTalk4.DoLogin()

See Also
TeamTalk4.DoUpdateServer
TeamTalk4.GetServerProperties
TeamTalk4.DoLogin
UserRight

Member Data Documentation

string BearWare.ServerProperties.szServerName

The server's name.

string BearWare.ServerProperties.szServerPasswd

The server's password to login. Users must provide this in the TeamTalk4.DoLogin() command. When extracted through TeamTalk4.GetServerProperties() the password will only be set for users of user-type UserType USERTYPE_ADMIN.

string BearWare.ServerProperties.szMOTD

The message of the day. When updating the MOTD an admin can use the variables users% (number of users), admins% (number of admins), uptime% (hours, minutes and seconds the server has been online), voicetx% (KBytes transmitted), voicerx% (KBytes received) and lastuser% (nickname of last user to log on to the server) as part of the MOTD.

string BearWare.ServerProperties.szMOTDRaw

The message of the day including variables. This property is only set for UserType USERTYPE_ADMIN users. Read-only property.

UserRight BearWare.ServerProperties.uUserRights

A bitmask based on UserRight which specifies the rights a user have who logs onto the server.

int BearWare.ServerProperties.nMaxUsers

The maximum number of users allowed on the server. A user with admin account can ignore this.

int BearWare.ServerProperties.nMaxLoginAttempts

The maximum number of logins with wrong password before banning user's IP-address.

int BearWare.ServerProperties.nMaxLoginsPerIPAddress

The maximum number of users allowed to log in with the same IP-address. 0 means disabled.

int BearWare.ServerProperties.nAudioCodecBpsLimit

Bandwidth restriction for audio codecs created by non-administrators. This value will hold the highest bitrate which is allowed for audio codecs. 0 = no limit.

See Also
AudioCodec
int BearWare.ServerProperties.nMaxAudioTxPerSecond

The maximum number of bytes per second which the server will allow for audio packets. If this value is exceeded the server will start dropping audio packets. 0 = disabled.

int BearWare.ServerProperties.nMaxVideoTxPerSecond

The maximum number of bytes per second which the server will allow for audio packets. If this value is exceeded the server will start dropping video packets. 0 = disabled.

int BearWare.ServerProperties.nMaxDesktopTxPerSecond

The maximum number of bytes per second which the server will allow for desktop packets. If this value is exceeded the server will start dropping desktop packets. 0 = disabled.

int BearWare.ServerProperties.nMaxTotalTxPerSecond

The amount of bytes per second which the server will allow for packet forwarding. If this value is exceeded the server will start dropping packets. 0 = disabled.

bool BearWare.ServerProperties.bAutoSave

Whether the server automatically saves changes.

int BearWare.ServerProperties.nTcpPort

The server's TCP port.

int BearWare.ServerProperties.nUdpPort

The server's UDP port.

int BearWare.ServerProperties.nUserTimeout

The number of seconds before a user who hasn't responded to keepalives will be kicked off the server.

See Also
TeamTalk4.SetKeepAliveInterval.
string BearWare.ServerProperties.szServerVersion

The server version.

string BearWare.ServerProperties.szServerProtocolVersion

The version of the server's protocol.