[robocup-small] Referee Box Proposed Patch

Tim Laue Tim.Laue at dfki.de
Mon Apr 12 07:45:59 EDT 2010


Hi,

the patch has been added and Armin Burchardt has prepared a new version
of the RefereeBox which is available at:

http://small-size.informatik.uni-bremen.de/referee:download

Please note that there is currently no new Windows binary. It would be
nice, if somebody could prepare one.

Best regards,

Tim

Am 03.04.2010 00:01, schrieb Christopher Head:
> Hello,
> I'd like to propose the attached patch to be applied to the referee box
> source code (it's based on the 2009-10-19 release tarball). The purpose
> of this patch is as follows:
> 
> At initialization time, the refbox examines the list of network
> interfaces on the machine and records the addresses of all interfaces
> other than "lo" (the loopback interface is excluded because it does not
> support multicast). When the refbox needs to send a packet, it iterates
> through the network interfaces and sends the packet out on each
> interface.
> 
> Corollary: if no network interfaces other than "lo" are found, no
> packet is ever sent.
> 
> This patch adds a clause which, if no non-lo interfaces were found,
> simply sends the packet out arbitrarily, without trying to set the
> multicast interface address at all.
> 
> This allows one to do tests on a machine without a network connection
> by simply running the refbox and the target software (which intends to
> receive packets) on the same machine, as long as one sets the
> MULTICASTADDRESS parameter in referee.conf to 127.0.0.1 and as long as
> the receiving software treats the failure of the IP_ADD_MEMBERSHIP call
> as nonfatal.
> 
> Thanks for your consideration,
> Christopher Head
> Software Lead
> UBC Thunderbots

_______________________________________________
robocup-small mailing list
robocup-small at cc.gatech.edu
https://lists.cc.gatech.edu/mailman/listinfo/robocup-small

-- 
_______________________________________________________________

Dipl.-Inf. Tim Laue
DFKI Bremen
Sichere Kognitive Systeme
Cartesium 0.57
Enrique-Schmidt-Str. 5
28359 Bremen

http://www.dfki.de
www.informatik.uni-bremen.de/~timlaue

Telefon: +49 (421) 218-64209
Telefax: +49 (421) 218-9864209
E-Mail:  Tim.Laue at dfki.de
_______________________________________________________________

Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany

Geschaeftsfuehrung:
Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
Dr. Walter Olthoff

Vorsitzender des Aufsichtsrats:
Prof. Dr. h.c. Hans A. Aukes

Amtsgericht Kaiserslautern, HRB 2313



More information about the robocup-small mailing list