PeerPort Property  
 

Return the port number of the remote connection or datagram.

Syntax

object.PeerPort

Remarks

The PeerPort property returns the port number that the remote host has used when establishing a connection with the local system. If a datagram socket is being used, this property will return the port number used by the remote host which sent the last datagram that was received.

Data Type

String

See Also