Go Down

Topic: UDP "client" (Read 653 times) previous topic - next topic


I notice that UDP does not car about client and server, you just make a UDP packet with ip and port to send the data! But do the Arduino at the other end (on a other network, i'm transmitting over internet) need port forwarding..i know that with tcp/ip the server need it..but for UDP there's no definition of server..there's no answer. there's no definition of client too..

how the data will get to the arduino at the other end if there's a router and other machine connect to on it's home network(LAN)?


You will need to port forward that to the localnet ip if you want reliable results. If the device behind the router is a UDP "client", like for NTP, then connection tracking in the router will normally allow a response if received in a couple seconds.


ok thanks! So the router will take any data from the "server" like a response to the data the "client" sent if it a resquest have been sent a couple of second ago..good.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131