DNSPort Property
The port where the DNS server is listening.
Syntax
ANSI (Cross Platform) int GetDNSPort();
int SetDNSPort(int iDNSPort); Unicode (Windows) INT GetDNSPort();
INT SetDNSPort(INT iDNSPort);
@property (nonatomic,readwrite,assign,getter=DNSPort,setter=setDNSPort:) int DNSPort; - (int)DNSPort; - (void)setDNSPort:(int)newDNSPort;
#define PID_MX_DNSPORT 1 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_MX_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_MX_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
53
Remarks
This property contains the port where the DNS server is listening. The default value is 53 but you may set this property to any other value for use with experimental servers, etc.
This property is not available at design time.
Data Type
Integer