determining IP address of box or asking for typing