This application tests the socket sharing.