Little piece of code that periodically retrieves information from a remote server given an URI, port number and IP address.