All is working fine: I can detected the IP my device is using (by calling GetMyIP after the Listen method).
But how can I detect my network connection is closed (possibly followed by another IP) ? Eg: when switching fro GPRS to Wifi (or vica versa) or just to detect when the networkconnection is down.
It seems neither the Stream_Error or Stream_Terminated is called