aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Ecore_Con.am
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-10-21 13:24:02 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-10-21 13:33:27 -0200
commit7493368e5412002c4eca3bf651b21e01234da0f9 (patch)
treee5ce747d27262f9866c6400cceba7aad221fc489 /src/Makefile_Ecore_Con.am
parentefl_net_dialer_udp_example: be more 'correct' using events to read/write. (diff)
downloadefl-7493368e5412002c4eca3bf651b21e01234da0f9.tar.gz
efl_net_server_udp: initial UDP server.
This is the initial UDP server that works similarly to the TCP one, however under the hood it's widely different since the socket is reused for all "clients", thus needs a new Efl.Net.Server.Udp.Client (Efl.Net.Socket) as Efl.Net.Socket.Udp exposes the fd and options such as 'cork', which would interfere in other clients. The main socket will read the packets and find an existing client to feed it. If no client exists, then it will create one if not overr limit. Since there is no kernel-queuing as done by listen()/accept(), the 'no reject' case will just accept the client anyway. Next commits will improve UDP server handling with some advanced features: - join multicast groups - bind to a specific interface (SO_BINDTODEVICE) - block packets going out of local network (SO_DONTROUTE) - specify priorities (SO_PRIORITY)
Diffstat (limited to 'src/Makefile_Ecore_Con.am')
-rw-r--r--src/Makefile_Ecore_Con.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile_Ecore_Con.am b/src/Makefile_Ecore_Con.am
index e5a5cd081a..58a73ae722 100644
--- a/src/Makefile_Ecore_Con.am
+++ b/src/Makefile_Ecore_Con.am
@@ -18,6 +18,8 @@ ecore_con_eolian_files = \
lib/ecore_con/efl_net_server.eo \
lib/ecore_con/efl_net_server_fd.eo \
lib/ecore_con/efl_net_server_tcp.eo \
+ lib/ecore_con/efl_net_server_udp.eo \
+ lib/ecore_con/efl_net_server_udp_client.eo \
lib/ecore_con/ecore_con_eet_base.eo \
lib/ecore_con/ecore_con_eet_server_obj.eo \
lib/ecore_con/ecore_con_eet_client_obj.eo \
@@ -83,7 +85,9 @@ lib/ecore_con/efl_net_dialer_http.c \
lib/ecore_con/efl_net_dialer_websocket.c \
lib/ecore_con/efl_net_server.c \
lib/ecore_con/efl_net_server_fd.c \
-lib/ecore_con/efl_net_server_tcp.c
+lib/ecore_con/efl_net_server_tcp.c \
+lib/ecore_con/efl_net_server_udp.c \
+lib/ecore_con/efl_net_server_udp_client.c
EXTRA_DIST2 += lib/ecore_con/ecore_con_legacy.c