port resolver on socket client.