Revision
14370
Author
gmaruzz
Date
2009-07-27 04:37:06 -0500 (Mon, 27 Jul 2009)

Log Message

skypiax: compiles and run (very well indeed, very short latency) on Windoz

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c (14369 => 14370)


--- freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c	2009-07-27 09:08:28 UTC (rev 14369)
+++ freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c	2009-07-27 09:37:06 UTC (rev 14370)
@@ -671,7 +671,10 @@
       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