NewsPort Property
The server port for secure NNTP (default 119).
Syntax
ANSI (Cross Platform) int GetNewsPort();
int SetNewsPort(int iNewsPort); Unicode (Windows) INT GetNewsPort();
INT SetNewsPort(INT iNewsPort);
@property (nonatomic,readwrite,assign,getter=newsPort,setter=setNewsPort:) int newsPort; - (int)newsPort; - (void)setNewsPort:(int)newNewsPort;
#define PID_SNNTP_NEWSPORT 52 IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_SNNTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_SNNTP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
119
Remarks
For implicit SSL, use port 563 (please refer to the SSLStartMode property for more information).
A valid port number (a value between 1 and 65535) is required for the connection to take place. The property must be set before a connection is attempted and cannot be changed once a connection is established. Any attempt to change this property while connected will fail with an error.
This property is not available at design time.
Data Type
Integer