Fixed compiler warning by using the const char* for fixed string and including ip_compat.h only for SunOS
Fixed compiler warning by using the const char* for fixed string
Added casting output of output of calloc to fix compilation error. And added the correct prototype for inet_ntoa_r
moving to c++