Answer the question
In order to leave comments, you need to log in
How can I organize a remote control based on the UDP protocol so that the Arduino + Ethernet Shield is a client, and the server is on a remote PC?
How can I organize a remote control based on the UDP protocol so that the Arduino + Ethernet Shield is a client, and the server is on a remote PC?
Answer the question
In order to leave comments, you need to log in
As part of the UDP request, you can send a response to the incoming packet - I checked this only in a simple network without routing - I worked with the ENC28J60.
On sockets. Easier nowhere. For example, in python.
Moreover, sockets are different - it all depends on what level you want to work at. Up to the channel - see incoming packets, headers, and so on. in a loop - and answer each packet - and you can collect the packet, again, up to the poppy addresses. This is the most hardcore way.
At the transport level, sockets can also work.
- that is, the link and network layers are assembled automatically, and you control only the transport (open a socket
on a certain port and wait for incoming packets, as soon as you receive it, you answer) server, and on Arduino - FIG knows.
Well, you also probably build the package yourself - with all the headers, or if there are libraries that help to build the package automatically - then with their help.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question