static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Con_Server *srv = NULL;
-Eina_Bool _quit_timer_cb(void* data)
-{
- ecore_main_loop_quit();
- return ECORE_CALLBACK_CANCEL;
-}
-
/**
* @addtogroup ecore_con
* @{
printf(" ============ Startup ============ \n");
if (ecore_con_init() > 0)
{
- srv = ecore_con_server_connect(ECORE_CON_REMOTE_TCP, HOSTNAME, PORT, NULL);
+ srv = ecore_con_server_connect(ECORE_CON_REMOTE_TCP, "127.0.0.1", PORT, NULL);
if (srv != NULL)
{
startup_status = EINA_TRUE;
const char *ip = NULL;
Eina_Bool ok = EINA_FALSE;
- if (ecore_timer_add(0.5, _quit_timer_cb, NULL) == NULL)
- {
- ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed (timer cannot be created for testing)..", __FILE__, __LINE__);
- }
- ecore_main_loop_begin();
ip = ecore_con_server_ip_get(srv);
if (ip != NULL)
{