View Single Post
  #1 (permalink)  
Old 12-19-2005
g00fy g00fy is offline
Registered User
 
Name: Salvania
Organization: Salvania
Project: Database systems
 
Join Date: Dec 2005
Posts: 45
Send a message via ICQ to g00fy
-->
Getting remote address

Hi,

How do I get the remote address and port when I have the ICE::Current?

I know I can do ICE::Current.con->toString(), but that returns a string with the port and all that stuff in it... Isn't there another mean of getting the remote information?

This is because I am trying to add logging to my application where every logevent occupies 1 line (ala Apache-style).


BTW: I know I can just parse it, but on a heavily used server, to start parsing there is a bad idea... So I will need to dedicate a seperate server for only logging purposes, which is a little outrageous at the moment... So I like to know where I can have a look at .


Thanks a lot!
Steven
__________________
Steven Van Ingelgem
Salvania [http://www.salvania.be/]
Product Descr.: Statistical data analysis
Reply With Quote