Back to product page

RemotePort property


Holds port for data socket of remote peer.

Type

Long

Syntax

  • Basic
object.RemotePort [= value]
The RemotePort(object,value) syntax has these parts:
objectAn expression evaluating to an object of type XMPPFile
valueA Long value.

Remarks

Once file transfer starts, RemotePort will hold remote machine's port used to transfer data. If proxy server is used, RemotePort will hold proxy server's Port number instead.

This property will only show correct port once file transfer has started, i.e. in FileTransferProgress event.

Platforms

Windows