Hi, Try ip_to_str() or ipv4_addr_str()
----- Original Message ----- From: "Bill Fumerola" Sent: Saturday, June 22, 2002 9:06 AM Subject: [Ethereal-dev] substitute for inet(3) functions in ethereal > hi. > > i'm writing an ethereal dissector (code to be sent to this list in the > next week, i promise) for cisco/caida's netflow. > > i need to convert a network number into a string. i don't see any current > use of inet_ntoa() (what i'm currently using) in the codebase, which i > assume is because of portability issues. what should i be using?