|
JWSCL Documentation
|
property RemoteAddress: TJwString;
RemoteAddress returns the real IP Address that is connected to the Terminal Server.
RemoteAddress returns the IP address that is currently connected to the Terminal Server (as opposed to ClientAddress which returns the address as reported by the client which is usually just it's local ip address). RemoteAddress is the same adddress 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 property is usefull because netstat cannot relate a connection to a Session Id. If you want to convert the to IP Address to a sockaddr structure you can use the WSAStringToAddress API.
|
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!
|