From: Giovanni Maruzzelli Date: Mon, 27 Jul 2009 09:37:06 +0000 (+0000) Subject: skypiax: compiles and run (very well indeed, very short latency) on Windoz X-Git-Tag: v1.0.4~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff1ae27a9d2b0aeba0753e708144fd59724319a6;p=thirdparty%2Ffreeswitch.git 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 --- 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