efl/src/lib/ecore_con
Srivardhan Hebbar b1f74c615a ecore_con: fix ECORE_CON_LOCAL_SYSTEM use with negative port number.
Summary:
The socket can be created even with negative port number, but in that case the port
is ignored so that you can connect to non Ecore_Con based IPC. This patch remove
that test to make the client and server match.

@fix

Bug: While creating ECORE_CON_LOCAL_SYSTEM server and client pair, when the socket
name was "test_socket" and port number "-8" (Any negative number). Then while creating
listening socket, the code would go to line no 291 and socket is created in tmp by
".ecore_servicetest_socket|-8". When the same is passed to bind then the code would
go to line 118 and the socket it would try to bind would be ".ecore_servicetest_socket" !!
So the bind would fail.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2186

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-18 15:37:09 +01:00
..
Ecore_Con.h ecore_con: move Socks API documentation to Ecore_Con.h 2015-03-13 09:33:29 +01:00
Ecore_Con_Eet.h ecore: update the doxygen groups to compile forgotten parts of the API. 2014-10-20 18:17:26 +02:00
Ecore_Con_Eo.h Ecore con: Add Connector class (the connecting variant of server). 2014-09-01 12:35:22 +01:00
Ecore_Con_Legacy.h Ecore con: Add Connector class (the connecting variant of server). 2014-09-01 12:35:22 +01:00
dns.c ecore_con: do not load /etc/hosts on Windows. 2015-02-11 17:03:38 +01:00
dns.h rebase dns.c from upstream 2013-12-12 09:29:02 -05:00
ecore_con.c ecore_con: fix rebase issue. 2015-03-07 15:53:40 +01:00
ecore_con_alloc.c reformat ecore_con so I can read it... 2013-12-20 00:08:43 -05:00
ecore_con_ares.c Ecore con: Fix compilation on windows. 2014-08-27 16:19:25 +01:00
ecore_con_base.eo ecore_con: move Ecore_Con_Dns_Cb back to C 2014-11-27 17:13:20 +00:00
ecore_con_client.eo Ecore con: Rename to Ecore.Con.Base for the C++ bindings. 2014-08-22 17:37:56 +01:00
ecore_con_connector.eo Ecore con: Add Connector class (the connecting variant of server). 2014-09-01 12:35:22 +01:00
ecore_con_dns.c ecore-con - fix explicit null ptr deref 2014-08-27 17:14:30 +09:00
ecore_con_eet.c Fix warning with undefined ntohl(). 2014-05-30 14:15:27 +02:00
ecore_con_info.c fix duplicate function call names in ecore and ecore_con that can clash 2014-06-16 15:57:05 +09:00
ecore_con_local.c ecore_con: fix ECORE_CON_LOCAL_SYSTEM use with negative port number. 2015-03-18 15:37:09 +01:00
ecore_con_local_win32.c Ecore con: Fix some ecore con runtime issues on windows. 2014-08-27 16:25:27 +01:00
ecore_con_private.h ecore_con: use SOCKET and not int for socket descriptors on win32 2015-02-11 17:03:37 +01:00
ecore_con_server.eo eolian: builtin complex types 2014-09-08 14:53:13 +01:00
ecore_con_socks.c ecore_con: remove deprecated use of Eina_Binbuf functions. 2015-03-17 09:58:21 +01:00
ecore_con_ssl.c ecore_con: fix build with -DISCOMFITOR and OpenSSL. 2015-03-17 09:58:21 +01:00
ecore_con_url.c ecore_con_url: add ecore_con_url_head() 2015-02-19 22:52:50 +01:00
ecore_con_url.eo Ecore con url: Migrate to eo. 2014-09-01 11:12:17 +01:00