Local TCP port number of your computer. Server does not have to specify PortNumber Property but does local port number, however client must specify PortNumber Property. If you want server to determine free TCP port automatically, set LocalPortNumber to 0.
Before you use LocalPortNumber, you must check the number you want to use is not used by the other ‘well known port’ (like #80 for http server). Generally, it is recommended to use the number over 1024. This property is a persistent property.
Syntax
Return Value
Example
|
.LocalPortNumber = 0 ‘ Auto determine
|
|
m_hsms.SetLocalPortNumber(0); // Auto determine
|
Remarks
See Also
|