Hello, If you start the minisip stack and then stop it you leak the udp socket created by the udp listener. For tcp it doesn't, as the destructor calls close() . Philippe Torrelli