I tired that code i.e VoIP example. But when i run it both the server and client it looks like the example is not working properly. i.e after i run the server it plays the sound got from socket but the sound is too much noisy and has got lots of echo and delay in playback. Also after the socket is closed i.e server is closed intead of paying the 100 got audio Server stops directly.