I
I
Igor2015-03-11 18:52:33
Arduino
Igor, 2015-03-11 18:52:33

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

3 answer(s)
A
Alexander, 2015-03-11
@NeiroNx

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.

I
Igor, 2015-03-11
@No_eXcuSe

And how can I implement all this, in more detail if possible

C
chumarov, 2015-03-28
@chumarov

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 question

Ask a Question

731 491 924 answers to any question