efl/src/lib/ecore_con
Gustavo Sverzut Barbieri e7df1a7483 efl.net: socket, server and dialer for TCP.
Efl.Net.Server defines how to accept new connections, doing the
bind(), listen() and accept() for protocols such as TCP.

Efl.Net.Dialer defines to to reach a server.

Both are based on Efl.Net.Socket as communication interface that is
based on Efl.Io.Reader, Efl.Io.Writer and Efl.Io.Closer, thus being
usable with code such as Efl.Io.Copier.

The Server will emit an event "client,add" with the established
Socket, which is a child and can be closed by both the server or the
user.

The Dialer extends the Socket and allows for creating one given an
address, that will be resolved and connected.

TCP is the initial implementation so we an validate the
interfaces. UDP, Unix-Local and SSL will come later as derivate
classes.

The examples are documented and should cover the basic principles:

 - efl_io_copier_example can accept "tcp://IP:PORT" and will work as a
   "netcat", can send data from socket, file or stdin to a socket,
   file, stdout or stderr.

 - efl_net_server_example listens for connections and can either reply
   "Hello World!" and take some data or work as an echo-server,
   looping back all received data to the user.

More complex interactions that require a "chat" between client and
server will be covered with new classes later, such as a queue that
empties itself once data is read.
2016-08-22 18:25:14 -03:00
..
Ecore_Con.h ecore_con: switch from EO to BETA API 2016-06-14 16:01:37 +02:00
Ecore_Con_Eet.h ecore_con: switch from EO to BETA API 2016-06-14 16:01:37 +02:00
Ecore_Con_Eet_Eo.h ecore_con: eoifying ecore_con_eet. 2015-06-22 18:55:57 +02:00
Ecore_Con_Eet_Legacy.h ecore_con: eoifying ecore_con_eet. 2015-06-22 18:55:57 +02:00
Ecore_Con_Eo.h efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
Ecore_Con_Legacy.h Efl network: Remove the no longer needed .Base hack. 2016-05-11 13:00:57 +01:00
ecore_con.c efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
ecore_con_alloc.c reformat ecore_con so I can read it... 2013-12-20 00:08:43 -05:00
ecore_con_eet.c Eo: Finish the renaming of Eo to the EFL. 2016-08-15 15:07:42 +01:00
ecore_con_eet_base.eo Change the EFL to follow the new Eo rename. 2016-08-11 17:04:43 +01:00
ecore_con_eet_client_obj.eo Change the EFL to follow the new Eo rename. 2016-08-11 17:04:43 +01:00
ecore_con_eet_server_obj.eo Change the EFL to follow the new Eo rename. 2016-08-11 17:04:43 +01:00
ecore_con_info.c Eo: Finish the renaming of Eo to the EFL. 2016-08-15 15:07:42 +01:00
ecore_con_legacy.c efl: Cleanup some code (return values) 2016-08-05 10:32:30 +09:00
ecore_con_local.c ecore_con: add '\0' termination to path. 2016-08-22 11:04:13 -07:00
ecore_con_local_win32.c Eo: Finish the renaming of Eo to the EFL. 2016-08-15 15:07:42 +01:00
ecore_con_private.h efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
ecore_con_socks.c Eo: Finish the renaming of Eo to the EFL. 2016-08-15 15:07:42 +01:00
ecore_con_ssl.c Eo: Finish the renaming of Eo to the EFL. 2016-08-15 15:07:42 +01:00
ecore_con_url.c Eo: Finish the renaming of Eo to the EFL. 2016-08-15 15:07:42 +01:00
ecore_con_url_curl.c efl runtime dynamic lib loading - make errors consistent and useful 2016-08-02 11:23:34 +09:00
ecore_con_url_curl.h ecore-con-url- split out the curl dleopener and resolver and headers 2015-09-03 12:22:01 +09:00
efl_net_dialer.c efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
efl_net_dialer.eo efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
efl_net_dialer_tcp.c efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
efl_net_dialer_tcp.eo efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
efl_net_server.c efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
efl_net_server.eo efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
efl_net_server_fd.c efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
efl_net_server_fd.eo efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
efl_net_server_tcp.c efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
efl_net_server_tcp.eo efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
efl_net_socket.c efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
efl_net_socket.eo efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
efl_net_socket_fd.c efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
efl_net_socket_fd.eo efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
efl_net_socket_tcp.c efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
efl_net_socket_tcp.eo efl.net: socket, server and dialer for TCP. 2016-08-22 18:25:14 -03:00
efl_network.eo Change the EFL to follow the new Eo rename. 2016-08-11 17:04:43 +01:00
efl_network_client.eo Change the EFL to follow the new Eo rename. 2016-08-11 17:04:43 +01:00
efl_network_connector.eo Change the EFL to follow the new Eo rename. 2016-08-11 17:04:43 +01:00
efl_network_server.eo Change the EFL to follow the new Eo rename. 2016-08-11 17:04:43 +01:00
efl_network_url.eo Change the EFL to follow the new Eo rename. 2016-08-11 17:04:43 +01:00