ts-7000
[Top] [All Lists]

[ts-7000] Dead socket: recvfrom indicates ethernet failure?

To:
Subject: [ts-7000] Dead socket: recvfrom indicates ethernet failure?
From: "andygryc" <>
Date: Thu, 27 Oct 2005 19:21:33 -0000
Hi all,
Wondering if anyone else has had a problem similar to this.  I don't 
know if it's a driver problem or an app problem, but I suspect 
driver at this point.

My program is running, accepting UDP packets for a very long time 
(tens of thousands).  After enough time, it appears that recvfrom 
returns EINTR.  Now I understand that this just means "interrupted 
by a signal", so the code immediately calls recvfrom again.  
However, the stack doesn't give me the packet.  Instead, it appears 
to be queued, and I reenter a blocking state.  Once this has 
happened, that UDP socket will never again receive--ever new packet 
gives me an EINTR, and the packet is queued.  I can "netstat -a" and 
see the Recv-Q building up on my socket, even though I'm continually 
in a loop calling recvfrom.

My questions: anyone else seen behaviour like this?  Is there any 
other diagnosis I can perform?  Even though I suspect it really 
isn't EINTR, is there anyway I can verify this, or determine what 
signal may have caused it if it is a real problem?  Lastly, are 
there any updated ethernet drivers available?

--Andy Gryc






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Dead socket: recvfrom indicates ethernet failure?, andygryc <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU