fixes bug in linked list
adds showip.c - simple usage of getaddrinfo sys call