fixed socket.c. aton() depricated. using pton() instead