summaryrefslogtreecommitdiff
path: root/src/examples/ecore/Makefile.am
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-10-18 18:51:59 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-10-18 19:04:00 -0200
commit278866da2c0f770db5ebe3b5c0cd27839dd1c257 (patch)
tree1f1e2772cb6ffb82d3119cbd88eb4f330764debf /src/examples/ecore/Makefile.am
parent23b9b0d78dc5ee247a55e32d17a5711b4f7a51aa (diff)
efl_net_dialer_udp: "connect" to an UDP server to send and receive data.
Like existing ecore_con code, this does not use SOCKSv5 UDP proxy. It's kinda cumbersome to add since requires a keep alive TCP connection to the server, a second UDP channel and framing around the original UDP frame. Added UDP_CORK (if present) to match TCP_UDP present in TCP sockets, this allows one to execute multiple write() calls that will result in a single datagram, generated when CORK becomes FALSE again. The efl_io_copier_example.c now accepts this as output. There is no input UDP as there is no way to notify the server of a connection (since such thing doesn't exit), usually servers react after a datagram is received, replying to the source.
Diffstat (limited to 'src/examples/ecore/Makefile.am')
-rw-r--r--src/examples/ecore/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/examples/ecore/Makefile.am b/src/examples/ecore/Makefile.am
index 35c930b63b..da6b086a3d 100644
--- a/src/examples/ecore/Makefile.am
+++ b/src/examples/ecore/Makefile.am
@@ -84,7 +84,8 @@ efl_io_queue_example \
84efl_net_server_example \ 84efl_net_server_example \
85efl_net_dialer_http_example \ 85efl_net_dialer_http_example \
86efl_net_dialer_websocket_example \ 86efl_net_dialer_websocket_example \
87efl_net_dialer_websocket_autobahntestee 87efl_net_dialer_websocket_autobahntestee \
88efl_net_dialer_udp_example
88 89
89ECORE_COMMON_LDADD = \ 90ECORE_COMMON_LDADD = \
90$(top_builddir)/src/lib/ecore/libecore.la \ 91$(top_builddir)/src/lib/ecore/libecore.la \
@@ -310,6 +311,9 @@ efl_net_dialer_websocket_example_LDADD = $(ECORE_CON_COMMON_LDADD)
310efl_net_dialer_websocket_autobahntestee_SOURCES = efl_net_dialer_websocket_autobahntestee.c 311efl_net_dialer_websocket_autobahntestee_SOURCES = efl_net_dialer_websocket_autobahntestee.c
311efl_net_dialer_websocket_autobahntestee_LDADD = $(ECORE_CON_COMMON_LDADD) 312efl_net_dialer_websocket_autobahntestee_LDADD = $(ECORE_CON_COMMON_LDADD)
312 313
314efl_net_dialer_udp_example_SOURCES = efl_net_dialer_udp_example.c
315efl_net_dialer_udp_example_LDADD = $(ECORE_CON_COMMON_LDADD)
316
313SRCS = \ 317SRCS = \
314ecore_animator_example.c \ 318ecore_animator_example.c \
315ecore_buffer_example.c \ 319ecore_buffer_example.c \
@@ -363,7 +367,8 @@ efl_io_queue_example.c \
363efl_net_server_example.c \ 367efl_net_server_example.c \
364efl_net_dialer_http_example.c \ 368efl_net_dialer_http_example.c \
365efl_net_dialer_websocket_example.c \ 369efl_net_dialer_websocket_example.c \
366efl_net_dialer_websocket_autobahntestee.c 370efl_net_dialer_websocket_autobahntestee.c \
371efl_net_dialer_udp_example.c
367 372
368DATA_FILES = red.png Makefile.examples 373DATA_FILES = red.png Makefile.examples
369 374