Here is client code that does almost what you want. It loads Google every 10 seconds.
Change the server ip to yours.