<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I don't understand what you're suggesting.   The event is sent by the interrupt handler when a packet is received.   If no packet has been received I don't see any advantage in waking up the receive thread after every clock tick.   <div><br></div><div>Which driver in particular are you describing?<br><div><br><div><div>On Jun 8, 2010, at 5:58 AM, Wolfgang Rostek wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><font size="2" face="sans-serif">Hi group</font>
<br>
<br><font size="2" face="sans-serif">I'm testing my RTEMS socket server application
and run into problems with a fast client.</font>
<br>
<br><font size="2" face="sans-serif">Tracking down the problem seems to arise
from a default ACK delay of 200 ms for TCP.</font>
<br>
<br><font size="2" face="sans-serif">From within my network.c it seems that
the fec rx daemon should not invoke</font>
<br>
<br><font size="2" face="sans-serif">    rtems_bsdnet_event_receive
(INTERRUPT_EVENT | FATAL_INT_EVENT,</font>
<br><font size="2" face="sans-serif">        RTEMS_WAIT
| RTEMS_EVENT_ANY,</font>
<br><font size="2" face="sans-serif">        RTEMS_NO_TIMEOUT,
&events);<br>
</font>
<br><font size="2" face="sans-serif">this way.</font>
<br>
<br><font size="2" face="sans-serif">To get an immediate ACK is it correct
to replace RTEMS_NO_TIMEOUT by '1' or</font>
<br><font size="2" face="sans-serif">is there another location to setup ACK
handling for TCP?</font>
<br><font size="2" face="sans-serif"><br>
thanks<br>
Wolfgang Rostek<br>
<br>
Phone: +49 (89) 92 16-2183<br>
Fax: +49 (89) 92 16-162183<br>
</font><a href="http://www.esg.de/"><font size="2" face="sans-serif">http://www.esg.de</font></a><font size="2" face="sans-serif"><br>
ESG Elektroniksystem- und Logistik-GmbH<br>
82256 Fuerstenfeldbruck, Livry-Gargan Str. 6, Germany</font>_______________________________________________<br>rtems-users mailing list<br><a href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br>http://www.rtems.org/mailman/listinfo/rtems-users<br></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div>-- <br>Eric Norum<br><a href="mailto:wenorum@lbl.gov">wenorum@lbl.gov</a></div></span>
</div>
<br></div></div></body></html>