Socket.PortNumber Property

Top 

Description

For a Client Socket, the port number to connect to. For a Server Socket, the port number on which the Socket listens for connections.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Attributes

Type:

integer

Access:

read/write

Default Value:

0

 

Syntax

myVariable1 = mySocket1.PortNumber;

 

mySocket1.PortNumber = myVariable1;

 

See also

Socket Object

Interfacing with Sockets Guide