## The `port' property

Integer Scalar

Valid for: Socket, GetMail, SendMail, APL (Child task)

The `port` property determines the TCP/IP port used for communication by a Socket object. You need to set it before calling the `Open` or `Listen` methods.

Port numbers are usually associated with specific protocols. For example, port 80 is used for the HTTP protocol used by web browsers.

The `port` property can also be used to alter the default port used by the GetMail and SendMail objects. You need to set it before calling the `Open` method.

For an APL (Child Task) object in a Client-Server version of APLX, the `port` property determines the TCP/IP port number used to communicate between the Client and the APLX Server. Normally you should leave this at the default value 1134, the port number allocated to APLX by IANA, the Internet Assigned Numbers Authority. If, exceptionally, your APLX Server is listening on a different port number, you can set this property before opening the task.

Topic: APLX Help : System Classes : Properties : port

[ Previous | Next | Contents | Index ]