Revision: 535
          http://vde.svn.sourceforge.net/vde/?rev=535&view=rev
Author:   danielel
Date:     2012-01-20 06:44:59 +0000 (Fri, 20 Jan 2012)
Log Message:
-----------
Halved receiving socket polling timeout

Modified Paths:
--------------
    branches/vde-router/vde-2/src/vde_router/vder_olsr.c

Modified: branches/vde-router/vde-2/src/vde_router/vder_olsr.c
===================================================================
--- branches/vde-router/vde-2/src/vde_router/vder_olsr.c        2012-01-19 
15:56:37 UTC (rev 534)
+++ branches/vde-router/vde-2/src/vde_router/vder_olsr.c        2012-01-20 
06:44:59 UTC (rev 535)
@@ -290,7 +290,7 @@
        gettimeofday(&last_out, NULL);
 
        while(1) {
-               len = vder_udpsocket_recvfrom(udpsock, buffer, 
OLSR_MSG_INTERVAL, &from_ip, &from_port, -1);
+               len = vder_udpsocket_recvfrom(udpsock, buffer, 
(OLSR_MSG_INTERVAL >> 1), &from_ip, &from_port, -1);
                if (len < 0) {
                        perror("udp recv");
                        return NULL;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
vde-users mailing list
vde-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vde-users

Reply via email to