the host name has hyphens. the connection will return with perror if there is something wrong.