Go to file
Gustavo Sverzut Barbieri d4c6db251a efl_net_*_udp: make UDP usable, including multicast.
This was a huge work, but now UDP is usable as seen in the examples.

Instead of relying on 'connect()', just do 'sendto()' and 'recvfrom()'
as they are universal. Multicast address can only be connected in
IPv4, IPv6 wasn't working and I'm not sure the IPv4 is portable to
other platforms.

Dialer will auto-join multicast groups is the dialed address is
one. Multicast properties such as time to live (hops) and loopback can
be configured. When joining multicast groups, the local
address/interface can be configured by 'IP@IFACE' format, with
'@IFACE' being optional.

Dialers will now auto-bind, so it can receive data as dialers are
expected to be bi-directional. One can manually specify the binding
address if there is such need.

Since datagrams must be read in their full size, otherwise the
remaining bits are dropped, expose next_datagram_size_query() in both
Efl.Net.Socket.Udp and Efl.Net.Server.Udp.Client.

To finalize UDP for real we need to introduce an 'Efl_Net_Ip_Address'
structure to serve as both IPv4 and IPv6 and expose 'sendto()' and
'recvfrom()'. These will come later as this commit is already too big.
2016-10-25 10:11:48 -02:00
ecore efl_net_dialer_udp: "connect" to an UDP server to send and receive data. 2016-10-18 19:04:00 -02:00
ecore_avahi Examples: Fix compilation (disable CXX examples!) 2016-04-21 17:16:53 +09:00
edje examples: edje: make sure we handle the various corner cases for the po files 2016-07-26 12:40:55 +02:00
eet examples: add DESTDIR support for install. 2016-04-14 17:00:08 -07:00
eina examples: add DESTDIR support for install. 2016-04-14 17:00:08 -07:00
eina_cxx examples: eina-cxx: ensure the install hook honors a set DESTDIR 2016-06-17 15:05:02 +09:30
eio examples: update various gitignore files for new example binaries 2016-06-30 18:15:44 +02:00
eldbus examples: add DESTDIR support for install. 2016-04-14 17:00:08 -07:00
elementary examples/elementary: drop generated.h from SOURCES 2016-09-28 14:42:58 -03:00
elocation examples: add DESTDIR support for install. 2016-04-14 17:00:08 -07:00
elua examples: elua: ensure the install hook honors a set DESTDIR 2016-06-16 11:16:30 +02:00
emile examples: add DESTDIR support for install. 2016-04-14 17:00:08 -07:00
emotion examples: add DESTDIR support for install. 2016-04-14 17:00:08 -07:00
eolian_cxx examples: eolian_cxx: adapt code generation to changed eolian_gen commandline 2016-10-14 12:38:46 +02:00
ephysics examples: add DESTDIR support for install. 2016-04-14 17:00:08 -07:00
ethumb_client examples: add DESTDIR support for install. 2016-04-14 17:00:08 -07:00
evas examples: evas: ensure filter example lua files land in tarball 2016-08-17 16:43:32 +02:00
unsorted efl_net_*_udp: make UDP usable, including multicast. 2016-10-25 10:11:48 -02:00