Use sockgetremotename2 for connection address.