There's a way in Windows to run certain programs as soon as a network connection is detected. You could also write a program that continually loads http://www.whatismyip.com, parses it, and sends it to you. Or contintually run ipconfig or something, and when it gives an up other than 127.0.0.1, send it to you.