Hi,<br><br>Thanks there seems problem with fcntl<br>fcntl(fd, F_SETFL, O_NONBLOCK) is not supported in the OS being used for arguments F_SETFL and O_NONBLOCK.<br><br>Is there any other the functionality required by BIRD can be achived without the above call? I tried 'setsockopt' but it also didn't worked.<br><br>Is there any way by which making the socket as non-blocking can be avoided and still BIRD works for BSD tcp/ip stack.<br><br>Regards,<br>Aditya<br><br><b><i>Martin Mares <mj@ucw.cz></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi!<br><br>> I am trying to port BIRD to eCos. I configured BIRD for BSD as eCos has BSD tcp/ip stack and only enabled RIP as routing protocol.<br>> <br>> The problem that I face is that fcntl(fd, F_SETFL, O_NONBLOCK) fails while<br>> applying the configrations and ends up in calling the method called bug. If<br>> I comment the fcntl call
than somwhere down die is invoked.<br><br>On what fd did it fail? If on a socket, then it's a clear bug in the eCos<br>POSIX API.<br><br> Have a nice fortnight<br>-- <br>Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/<br>Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth<br>"God doesn't play dice." -- Albert Einstein<br></mj@ucw.cz></blockquote><br><p>
<hr size=1>New Yahoo! Messenger with Voice. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman5/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com">Call regular phones from your PC</a> and save big.