This function is used to get the host address based on the host name.
int gethostbyname(char *name)
Returns the host address based on the host name as an integer.