LocalPort property
Type: Short
Port (in local host byte order) to use on the local host.
You should set this property before calling one of the query methods.
HexTcpQuery will bind to this port before connecting to the remote host.
A value of 0 will cause the TCP/IP stack to choose an appropriate local
port. The default value is 0. In general, you should leave it at its default
value unless you know exactly what you're doing.
|