User's Manual
#!1&)*+,&.*7*)&%*)..&)55,*)&&&&&;
*H*),LM
% : : " 7::
JK $
string = inet_ntoa(IPaddr)
char *string;
struct in_addr IPaddr;
string "!( *
: JK ' " & J/C$;$C--$CK$
%! \0$
J: 9 K * 9 1 !
!
! $
IPaddr : : $ : : !#
( # in_addr$
*)/!LM
7 -C( )"# ! $
hostlong = ntohl(netlong)
u_long hostlong, netlong;
hostlong -C( ' " (# ntohl()$
netlong -C( $
*)/.LM
7 F( )"# ! $
hostshort = ntohs(netshort)
u_short hostshort, netshort;
hostshort F( ' " (# ntohs()$
netshort F( $