Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #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
  #2 (permalink)  
Old 12-19-2005
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
I'm afraid at present parsing the string is your only option. I agree that a more elegant method should be added to Ice (and it's on our long todo list...).
Reply With Quote
  #3 (permalink)  
Old 02-01-2007
jae jae is offline
Registered User
 
Name: John Eisenman
Organization: Wink Technologies
Project: Wink
 
Join Date: Oct 2006
Posts: 18
As the more elegant solution mentioned above been implemented?
__________________
* John Eisenman
* Wink Technologies (wink.com)
Reply With Quote
  #4 (permalink)  
Old 02-02-2007
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,540
Hi John,

No, I'm afraid this is still on our TODO list.

Cheers,
Benoit.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to pass binary char array to remote host efficiatively? socketref Help Center 7 09-18-2005 11:15 AM
A beginner's problem!! About remote object sharing. ehero Help Center 5 04-09-2005 04:15 PM
Proxies obtained from a remote object must have their endpoints fully resolved annekat Help Center 5 03-07-2005 07:01 PM
displaying java GUIs on windows using remote SSH invocation johnk Help Center 4 01-04-2005 08:00 PM
how server to remote client.? ouloba Help Center 2 10-17-2004 11:27 PM


All times are GMT -4. The time now is 10:37 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.