EndpointPort Property

Returns the endpoint port of the file transfer.

Syntax

NSFile.EndpointPort

Remarks

This is the same port that is passed as the port of the receiver that calls the FtsStartFileTransferReceive method.

For multicast transfers, this property indicates the multicast port that the receiver is listening to. The receiver can use the SourcePort property to determine the port of the sender.

For unicast transfers, this property indicates the port that the receiver is listening to.

This property is available after at least one file transfer.

© 1996-1998 Microsoft Corporation. All rights reserved.