|
JWSCL Documentation
|
property RemotePort: WORD;
RemotePort returns the Remote Port number which is is connected to the Terminal Server. The Terminal Server listens (by default) on port 3389 but the client connects with a random available port. RemotePort is the same port number you will see when you examine netstat output
C:Documents and SettingsRemko>netstat -n | find /i "3389"
TCP 192.168.2.2:3389 192.168.2.3:4096 ESTABLISHEDIn the output above, 192.168.2.2 is the IP Address of the Terminal Server which listens on port 3389. It has currently one Session from Remote IP 192.168.2.3 on TCP port 4096. The RemoteAddress and RemotePort properties are usefull because netstat cannot relate a connection to a Session Id.
|
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc. |
|
What do you think about this topic? Send feedback!
|