Author Topic: UDP in uNetwork  (Read 6040 times)

intern

  • Guest
UDP in uNetwork
« on: September 19, 2012, 02:21:52 PM »
Hi

As i understand the uNetwork dokumentation, the uNetwork uses UDP protocol, but i can't see the setup for it in the code.

I am all wrong or am i just not seeing it?

Thanks in advance !
Regards

The Intern

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: UDP in uNetwork
« Reply #1 on: September 19, 2012, 03:44:13 PM »
Hi

The uNetwork protocol is not UDP based - it uses its own protocol (uNetwork) on top of Ethernet (with protocol type 0x754e - which is user definable - but shows up in Wireshark as "uN" for simple recognition). This means that it also has nothing to do with IP (Internet protocol) which UDP would be on top of.

It is designed for fast and relable data exchange in a LAN but will not work across networks with IP gateways. It also fits in with the uTasker internal message transportation so that tasks can send events/messages to other tasks running on the same board or to tasks running on other boards in the same LAN. The software essentially needs to just know the name of the task that it wants to send events/data to but not necessarily whether it is local or remote.

Regards

Mark