arg->listener = xbt_thread_create("listener", listener_function, arg,1/*joinable*/);
gras_os_sleep(0); /* give the listener a chance to initialize before we connect to its socket */
arg->listener = xbt_thread_create("listener", listener_function, arg,1/*joinable*/);
gras_os_sleep(0); /* give the listener a chance to initialize before we connect to its socket */