Previous | Next |
Returns the local port used in the last file transfer.
Syntax
NSFile.LocalPortUsed
Remarks
This property can be used to determine the IP port of the local computer. The LocalPort property returns the local port of the computer before a transfer starts.
This property typically is used if the LocalPort property is set to 0 (zero), indicating that any valid, unused port is to be chosen for the receive operation. To find out which port was actually used, read the LocalPortUsed property. If LocalPort was set to a non-zero value, then LocalPortUsed is the same as LocalPort.
This property is available after at least one file transfer.
Previous | Next |