Fixed getaddrinfo call in test program.  Arguments were in the wrong order.