From ff1ae27a9d2b0aeba0753e708144fd59724319a6 Mon Sep 17 00:00:00 2001 From: Giovanni Maruzzelli Date: Mon, 27 Jul 2009 09:37:06 +0000 Subject: [PATCH] skypiax: compiles and run (very well indeed, very short latency) on Windoz git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14370 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_skypiax/skypiax_protocol.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mod/endpoints/mod_skypiax/skypiax_protocol.c b/src/mod/endpoints/mod_skypiax/skypiax_protocol.c index 7b14bf46ae..029b1ef8fe 100644 --- a/src/mod/endpoints/mod_skypiax/skypiax_protocol.c +++ b/src/mod/endpoints/mod_skypiax/skypiax_protocol.c @@ -671,7 +671,10 @@ void *skypiax_do_tcp_cli_thread_func(void *obj) while ((fd = accept(s, (struct sockaddr *) &remote_addr, &sin_size)) > 0) { DEBUGA_SKYPE("ACCEPTED here you send me %d\n", SKYPIAX_P_LOG, tech_pvt->tcp_cli_port); +#ifndef WIN32 fcntl(tech_pvt->audioskypepipe[0], F_SETFL, O_NONBLOCK); +#endif //WIN32 + if (!running) break; while (tech_pvt->interface_state != SKYPIAX_STATE_DOWN