<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> <br>
> Okay. Have made some changes:<br>
> <a href="https://github.com/rmeena840/rtems-tools/commit/6fb677ce9da9055c904cb89b5b3612557ed995fd" rel="noreferrer" target="_blank">https://github.com/rmeena840/rtems-tools/commit/6fb677ce9da9055c904cb89b5b3612557ed995fd</a> <br>
<br>
How many input file descriptors should this program use?</blockquote><div>I think it has to be equal to the value in defined variable RTEMS_RECORD_CLIENT_MAXIMUM_CPU_COUNT.</div><div><br></div><div>for( i = 0; i < RTEMS_RECORD_CLIENT_MAXIMUM_CPU_COUNT ; i++ ){<br> fd[ i ] = ( input_file_flag ) ? open( input_file, O_RDONLY ) : <br> socket( PF_INET, SOCK_STREAM, 0 ); <br> assert( fd[i] >= 0 ); <br> }<br></div></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font size="4"><b>Ravindra Kumar Meena</b></font>,<div><span style="color:rgb(102,102,102)">B. Tech. Computer Science and Engineering,<br></span></div><div><span style="color:rgb(102,102,102)"><a href="https://www.iitism.ac.in/" style="color:rgb(17,85,204)" target="_blank">Indian Institute of Technology (Indian School of Mines)</a>, Dhanbad</span></div></div></div></div></div></div>