Quote:
Originally Posted by karthigayan View Post

2. To store the ip in char array you need 16 bits.
char addr[16];
Thanx for your help.Could you please explain why 16 ? I mean ip requires 32 bytes ?