Can Azure Sphere device be configured as a TCP client over Ethernet (eth0)?

António Sérgio Azevedo 7,671 Reputation points Microsoft Employee
2020-05-14T17:10:23.32+00:00

The TCP Echo Server sample work great. However, I have a requirement where I need my Azure Sphere device as a TCP client. I modified the private network services sample application to work as a client (commented out Echo TCP Server) but the connection to the TCP server at PC fails. I have configured the network services at azure sphere device with static ip.

[Note: As we migrate from MSDN, this question has been posted by an Azure Cloud Engineer as a frequently asked question.]

Source: MSDN

Azure Sphere
Azure Sphere
An Azure internet of things security solution including hardware, operating system, and cloud components.
170 questions
{count} votes

Accepted answer
  1. QuantumCache 20,346 Reputation points
    2020-05-14T17:11:44.597+00:00

    Azure Sphere device can be configured as a TCP client over Ethernet (eth0). Please ensure that the destination is in the app manifest under Allowed Connections.

    Source: MSDN

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. yash chabria 21 Reputation points
    2020-09-25T17:08:55.78+00:00

    It doesn't work, for UDP Client, - > TOOLS_REVISION "20.07" ARGET_API_SET "6"

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.