]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
skypiax: compiles and run (very well indeed, very short latency) on Windoz
authorGiovanni Maruzzelli <gmaruzz@gmail.com>
Mon, 27 Jul 2009 09:37:06 +0000 (09:37 +0000)
committerGiovanni Maruzzelli <gmaruzz@gmail.com>
Mon, 27 Jul 2009 09:37:06 +0000 (09:37 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14370 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_skypiax/skypiax_protocol.c

index 7b14bf46ae078572014b727a9f2a12769d070322..029b1ef8fe393b40a98761bfb63db02b2bdfa8e8 100644 (file)
@@ -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