Speedify SDK for Desktop/Embedded  15.0.1
Data Fields
SpeedifySDK_ServerInformation Struct Reference

Detailed Description

Detailed information about a server.

Since
7.5

#include <types.h>

Data Fields

char country [SPEEDIFYSDK_MAX_COUNTRY_LEN]
 2-character ISO country code, ie: 'us'. More...
 
char city [SPEEDIFYSDK_MAX_CITY_LEN]
 City code, ie: 'atlanta'. More...
 
int num
 Server number. Each specific server in an area is given a number unique to that region, as in "us-atlanta-3". More...
 
bool isPrivate
 Whether this is a private or public server. More...
 
bool isPremium
 Whether this is a premium-only server. More...
 
bool torrentAllowed
 Whether this server allows bittorrent/P2P. More...
 
uint16_t publicIPCount
 How many public IPs are in the list. Only available on connected server calls. More...
 
SpeedifySDK_IPAddressString publicIP [SPEEDIFYSDK_MAX_IP_COUNT]
 Public IP addresses of the server Only available on connected server calls. More...
 
uint16_t dnsIPCount
 How many DNS IPs are in the list. Only available on connected server calls. More...
 
SpeedifySDK_IPAddressString dnsIP [SPEEDIFYSDK_MAX_DNS_COUNT]
 DNS IP addresses of the server Only available on connected server calls. More...
 
char dataCenter [SPEEDIFYSDK_MAX_DATACENTER_LENGTH]
 Data center the server is in. More...
 

Field Documentation

◆ city

char SpeedifySDK_ServerInformation::city[SPEEDIFYSDK_MAX_CITY_LEN]

City code, ie: 'atlanta'.

Since
7.5

◆ country

char SpeedifySDK_ServerInformation::country[SPEEDIFYSDK_MAX_COUNTRY_LEN]

2-character ISO country code, ie: 'us'.

Since
7.5

◆ dataCenter

char SpeedifySDK_ServerInformation::dataCenter[SPEEDIFYSDK_MAX_DATACENTER_LENGTH]

Data center the server is in.

Since
14.0

◆ dnsIP

SpeedifySDK_IPAddressString SpeedifySDK_ServerInformation::dnsIP[SPEEDIFYSDK_MAX_DNS_COUNT]

DNS IP addresses of the server Only available on connected server calls.

Since
14.9

◆ dnsIPCount

uint16_t SpeedifySDK_ServerInformation::dnsIPCount

How many DNS IPs are in the list. Only available on connected server calls.

Since
14.9

◆ isPremium

bool SpeedifySDK_ServerInformation::isPremium

Whether this is a premium-only server.

Since
14.0

◆ isPrivate

bool SpeedifySDK_ServerInformation::isPrivate

Whether this is a private or public server.

Since
7.5

◆ num

int SpeedifySDK_ServerInformation::num

Server number. Each specific server in an area is given a number unique to that region, as in "us-atlanta-3".

Since
7.5

◆ publicIP

SpeedifySDK_IPAddressString SpeedifySDK_ServerInformation::publicIP[SPEEDIFYSDK_MAX_IP_COUNT]

Public IP addresses of the server Only available on connected server calls.

Since
7.5

◆ publicIPCount

uint16_t SpeedifySDK_ServerInformation::publicIPCount

How many public IPs are in the list. Only available on connected server calls.

Since
7.5

◆ torrentAllowed

bool SpeedifySDK_ServerInformation::torrentAllowed

Whether this server allows bittorrent/P2P.

Since
7.5

The documentation for this struct was generated from the following file: