Raghu Devisetti

Raghu Devisetti

  • NA
  • 16
  • 988

Need help on implementing Client Web Socket

Nov 19 2017 5:32 AM
Dear All,
 
We are creating the Client WebSocket using ClientWebSocket and then connecting to the Server WebSocket using ConnectAsync method. But as this is an Async call, it will return immediately. And when the connection is actually established asynchronously, we need to call a callback function, but we could not find the way to call the callback function automatically when the connection is established using the ConnecyAsync function call.
 
Please guide us in the right way. I can send the code next time if required. This we are doing on the VS 2015.
 
Any examples?
Thanks,

Answers (2)