[Olsr-users] Broadcast Packets & Windows Routing

Henning Rogge (spam-protected)
Fri Feb 22 12:17:46 CET 2008


Am Freitag 22 Februar 2008 09:54:35 schrieb Erik Tromp:
> We had this discussion before (december 2006).
>
> Using a polling mechanism to read the packets to be forwarded would
> seriously impact the forwarding performance. Unless the polling
> is done 1000 times/second, but that would monopolize the CPU.
Who talks about polling ?

just use a select() statement to wait until one of the sockets receive a 
message.

Henning


*************************************************
Diplom Informatiker Henning Rogge
Forschungsgesellschaft für
Angewandte Naturwissenschaften e. V. (FGAN) 
Neuenahrer Str. 20, 53343 Wachtberg, Germany
Tel.: 0049 (0)228 9435-961
Fax: 0049 (0)228 9435-685
E-Mail: (spam-protected)
Web: www.fgan.de
************************************************
Sitz der Gesellschaft: Bonn
Registergericht: Amtsgericht Bonn VR 2530
Vorstand: Dr. rer. nat. Ralf Dornhaus (Vors.), Prof. Dr. Joachim Ender 
(Stellv.)




More information about the Olsr-users mailing list