Use MAXHOSTNAMELEN (256) for the array holding the host_name in socket.c