@sujith Thanks for your help, it worked. One thing I noticed, some times I receive just from the WebSocket, total bytes recd are 12, but when I read firt 2 bytes to get number of packets it return huge number. I am not using official Clients, develo…