Xinu7/man/man3/dot2ip.doc




DOT2IP(3)           Xinu Programmer's Manual            DOT2IP(3)



NAME
     dot2ip - convert dotted decimal notation to an IP address

SYNOPSIS
     int dot2ip(ip, b1, b2, b3, b4)
     IPaddr ip;
     int  b1;
     int  b2;
     int  b3;
     int  b4;

DESCRIPTION
     Procedure _d_o_t_2_i_p converts an Internet (IP) address from dot-
     ted decimal notation to its 32-bit integer form and stores
     it in argument _i_p.  Each of the arguments _b_1, _b_2, _b_3, and
     _b_4, gives the value of one byte of the internet address.







































Version 6b               Printed 1/12/87                        1