method NNTP.Connect (Host as String, [Port as Variant])
Connects the client to the news server.
| | Type | Description | |
| |
Host as String |
A string expression that indicates the news server. For instance: "news.devx.com",
"news.exontrol.com", and so on.
| |
| |
Port as Variant |
A long expression that indicates the port number used to communicate with the
news server. By default, the Port parameter is 119 as described in the RFC
977.
| |
| | Return | Description | |
| | Boolean | A
boolean expression that indicates whether the client succeeded to
connect to the server on the specified port. | |