linux-mips
[Top] [All Lists]

Socket problem?

To: <linux-mips@linux-mips.org>
Subject: Socket problem?
From: "Gill" <gill.robles@exterity.co.uk>
Date: Sat, 22 May 2004 09:02:48 +0100
Importance: Normal
Organization: Exterity
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi -

Has anyone come across a socket problem where the user app calls select() on
a set of sockets, which returns, indicating that data is waiting...then
subsequent recvfrom() call returns -1 indicating that there's nothing
there??

I'm using linux v2.4.2, IPv4, and the ethernet driver is pcnet32.  We're
receiving a UDP stream.

I'm trying to check for dropped packets.  /proc/net/snmp indicates a number
of UDP InErrors (~1 per second).  However, not yet sure whether this is a
consequence of the problem above, or cause of it.

Any help much appreciated!

/Gill



<Prev in Thread] Current Thread [Next in Thread>