My ISP provides PPPoE; so every time I connect to the internet, I get different IP address assigned to me. I want to log all the ip addresses that my connection gets whenever I log-in. I know code for getting IP address, logging it properly and so on -- the question is how to I trap event that a connection is established via PPPoE. I use default PPPoE setup/dialer given by Windows XP/Vista. So how do I go about it?