• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 163
  • Last Modified:

Client IP Address

Can I get the IP Address from the TRequest in my ISAPI server? I know if I put an TCP object in an ActiveForm I can get the local IP.

Thank you.
0
zxw
Asked:
zxw
  • 5
1 Solution
 
rwilson032697Commented:
Listening
0
 
zxwAuthor Commented:
The property RemoteAddr of TRequest will do.

Sorry.
0
 
rwilson032697Commented:
Have you tried TWebRequest.RemoteAddr (see the help entry for details)...

Cheers,

Raymond.
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
rwilson032697Commented:
Snap!
0
 
mscatenaCommented:
You can use TWebRequest.RemoteAddr.
 
0
 
rwilson032697Commented:
mscatena: You are posting answers in Q's which are already noted in the comment history for the Q. Please read the comments before posting a new comment or propsing an answer.

Cheers,

Raymond.
0
 
rwilson032697Commented:
zxw: Why did you accept mscatenas answer? It was the exact same answer as I posted in my comment (after you had already posted a comment saying you found it).

Raymond.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now