bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting numeric ip address string


From: Ken Sewell
Subject: Getting numeric ip address string
Date: Tue, 31 May 2005 16:15:52 -0400 (EDT)

I've very new to CommonC++ so I apologize if this is addresses elsewhere ( 
if so I haven't been able to find it ).  I'm using the IPV4Address class 
and I'm setting the address, lets say to "127.0.0.1" for this example.  
How can I retrieve this?  The only call that seems to return a string is 
getHostname() which returns "localhost".  Is there a function to return 
the ip address in a string and give me back the original "127.0.0.1"?  
Thanks for any help.

Ken Sewell                   Defense Research Associates
Project Engineer             3915 Germany Lane, Suite 102
937-656-4899 x3004           Beavercreek, Ohio 45431-1608
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]