summaryrefslogtreecommitdiff
path: root/src/examples/ecore/Makefile.am
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-12-12 02:23:29 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-12-12 02:30:33 -0200
commit633ec445b8f167339fa451350319f47a4b01900b (patch)
treea7a6bd9aff14ec02fe3fabfe1f3d5648289103f6 /src/examples/ecore/Makefile.am
parent96eccc27535e2d2a0de3dae46dbdedb5450e1174 (diff)
efl_net: add Efl.Net.Ip_Address
This is a string parser, serializer and asynchronous resolver. It's purpose is to convert to and from the strings we use in our dialers and servers, such as "127.0.0.1:1234" or "[::1]:1234", properties allow to check the family, port, address bytes (slice) and even get a struct sockaddr pointer to use with bind()/connect() in outside code. It will also offer some utilities present in netinet/in.h in an easy to use way, after all IN6_IS_ADDR_LOOPBACK() works one way, while there is no IN_LOOPBACK and comparing with INADDR_LOOPBACK will lead to errors since it's in network order. Last but not least, it will do asynchronous resolve of host and port names using an internal thread and getaddrinfo(). The results are delivered using a Future with an array of objects.
Diffstat (limited to 'src/examples/ecore/Makefile.am')
-rw-r--r--src/examples/ecore/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/examples/ecore/Makefile.am b/src/examples/ecore/Makefile.am
index 5ac7a1df33..f0f4557b14 100644
--- a/src/examples/ecore/Makefile.am
+++ b/src/examples/ecore/Makefile.am
@@ -97,6 +97,7 @@ efl_net_socket_ssl_dialer_example \
97efl_net_socket_ssl_server_example \ 97efl_net_socket_ssl_server_example \
98efl_net_session_example \ 98efl_net_session_example \
99efl_net_control_example \ 99efl_net_control_example \
100efl_net_ip_address_example \
100ecore_ipc_server_example \ 101ecore_ipc_server_example \
101ecore_ipc_client_example 102ecore_ipc_client_example
102 103
@@ -366,6 +367,9 @@ efl_net_session_example_LDADD = $(ECORE_CON_COMMON_LDADD)
366efl_net_control_example_SOURCES = efl_net_control_example.c 367efl_net_control_example_SOURCES = efl_net_control_example.c
367efl_net_control_example_LDADD = $(ECORE_CON_COMMON_LDADD) 368efl_net_control_example_LDADD = $(ECORE_CON_COMMON_LDADD)
368 369
370efl_net_ip_address_example_SOURCES = efl_net_ip_address_example.c
371efl_net_ip_address_example_LDADD = $(ECORE_CON_COMMON_LDADD)
372
369ecore_ipc_server_example_SOURCES = ecore_ipc_server_example.c 373ecore_ipc_server_example_SOURCES = ecore_ipc_server_example.c
370ecore_ipc_server_example_LDADD = $(ECORE_IPC_COMMON_LDADD) 374ecore_ipc_server_example_LDADD = $(ECORE_IPC_COMMON_LDADD)
371 375