Was implementing DHCP Codec, and the message structure has a few IP Addresses (ciaddr, yiaddr, siaddr, giaddr).
The question is, Should I represent the IP Address as InetAddess class or as a simple String in the message structure? The reason why I am a little confused is, InetAddress.getByAddress API actually resolves the address which can hit the performance. ApacheDS uses this approach. What's the general approach recommended in such situations? Is there any advantage that we may get by using InetAddress, instead of a simpler String representation? -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal