<br><br><div class="gmail_quote">2010/10/23 Henning Rogge <span dir="ltr"><<a href="mailto:hrogge@googlemail.com">hrogge@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="font-family: 'Monospace'; font-size: 9pt; font-weight: 400; font-style: normal;"><div class="im">
<p style="margin: 0px; text-indent: 0px;">On Saturday 23 October 2010 10:52:56 kadir yüceer wrote:</p>
<p style="margin: 0px; text-indent: 0px;">> Hi there,</p>
<p style="margin: 0px; text-indent: 0px;">> Thanks for the advice. I've read the book and I have created my network</p>
<p style="margin: 0px; text-indent: 0px;">> design.</p>
<p style="margin: 0px; text-indent: 0px;">> Only thing left is to clarify how I'm gonna develop OLSR daemon in windows</p>
<p style="margin: 0px; text-indent: 0px;">> xp and windows mobile. In ReadMe file it says to create a project and</p>
<p style="margin: 0px; text-indent: 0px;">> import all the source code.</p>
</div><p style="margin: 0px; text-indent: 0px;">OLSRd (the software this mailing list is about) is made of a OS independent core and a bunch of small OS compatiblity stubs, which do the interact with the operation system. Just at the moment I have done some work to clean up this interface in the development branch to make it easier to write more OS adaptations of OLSRd.</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">The "only" thing you have to do do adapt OLSRd to a new platform is to write an implementation for all the OS stubs (you will find their prototypes in the "src/os_...h" files in the development branch). It's mostly about setting up sockets, sending and receiving packets, querying the status of interfaces and setting and removing routes.</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">It should be possible to do this on any platform you can</p>
<p style="margin: 0px; text-indent: 0px;">a) run a C programm (OLSRd has been written in C)</p>
<p style="margin: 0px; text-indent: 0px;">b) communicate through UDP sockets</p>
<p style="margin: 0px; text-indent: 0px;">c) set and remove IP routes</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">If c) is not there, it might be to create some userspace routing programm that does this job by hand, but it will have a poor performance I think.<br></p></div></blockquote></div>
<br>Thank you for this really informing mail. Pardon my "query flood" but I'm coming up with new questions by the time I'm growing my vision on olsrd.<br><br>Did I get this right? : There is an already developed API for C(with connection and data exchange methods) and I can develop a mesh network application on C easily, but first I have to implement the interface of olsrd to make it communicate with and run on windows mobile.<br>
Or are you saying that I have to implement them IF I wanna work on C# ?<br><br>Kadir<br>ps: I'm pushing the "windows mobile" thing because my application must cooperate with a C# based app, it's my engineering project. I can program on C, though.<br>