AzureSphere as Websocket client using subprotocol RRS feed

  • Question

  • Hello,

    I would like to know if it is posible to connect to Websocket Server using Azure Sphere networking api.

    It would be TCP connection using websocket protocol with 'chat' subprotocol and data exhanged using .json, everything would take place in local network.

    I know that parsing json is possible and TCP is availabe but i dnkt know about websocket and subprotocols.

    I would be greateful for any information.

    Best Regards,


    Sunday, May 3, 2020 10:28 AM

All replies

  • Hello Dariusz and welcome to MSDN.

    See Azure Sphere OS networking requirements

    For example you can use port 443 to communicate MQTT over websockets.

    Let us know if it answers your question?

    In case the information in this post is helpful , please feel free to mark this response as answer so that it can help others searching for similar questions.


    Monday, May 11, 2020 1:49 PM
  • I think you can implement this base on Linux socket on local network, there're some open source websocket library available
    Tuesday, May 12, 2020 12:57 AM