<div dir="ltr">Dear Sir,<div><br></div><div>I am beginner using BSD socket API.</div><div><br></div><div>I am testing select demo in network-demos-4.10-2 examples using loopback interface only.</div><div>I inserted rtems_bsdnet_show_inet_routes() function before calling doSelect () as like below;</div>
<div><div><br></div><div>rtems_task</div><div>Init (rtems_task_argument ignored)</div><div>{</div><div><span class="" style="white-space:pre">      </span>int doSocket(void);</div><div><br></div><div><span class="" style="white-space:pre">       </span>rtems_bsdnet_initialize_network ();</div>
<div><span class="" style="white-space:pre">    </span>rtems_bsdnet_show_inet_routes();</div><div><span class="" style="white-space:pre">   </span>doSocket ();</div><div><span class="" style="white-space:pre">       </span>exit (0);</div>
<div>}</div></div><div><br></div><div>As I check print log, getClients() function is not returned as like below log;</div><div><< Start of Log >></div><div><div>Destination     Gateway/Mask/Hw    Flags     Refs     Use Expire Interface      </div>
<div>default         127.0.0.1          UGS         0        0      0 lo0            </div><div>127.0.0.1       127.0.0.1          UH          1        0      0 lo0            </div><div>Create socket.                                                                  </div>
<div>Bind socket.                                                                    </div><div>Listen.                                                                         </div><div>Accept.   </div></div><div><< End of Log >><br>
<br></div><div>Please could you let me know my fault ?</div><div><br></div><div>Best Regards.</div></div>