bug-commoncpp
[Top][All Lists]
Advanced

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

Re: InetAddress classes


From: Andrey Kulikov
Subject: Re: InetAddress classes
Date: Sat, 27 Dec 2003 08:07:21 +0300

Hello Marc,

Saturday, December 27, 2003, 3:06:48 AM, you wrote:

MBD> Hi, 
MBD> I am looking at the InetAddress class and the derived ones right now.

MBD> - I need a function to get a string representation of the ip address
MBD> (in_addr to string) 
MBD> something along the lines of:

You need
char* inet_ntoa(in_addr addr)
function. Look to the manual.
 
MBD> std::string InetAddress::str() const { 
//// To many lines of code....
MBD> } 
 

-- 
Best regards,
 Andrey                            mailto:address@hidden

reply via email to

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