Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Duplicate receives with multiple reads



In case anyone runs into similar problems:

Problem solved: I forgot to do a setLength() on my receive Buffer Memory Descriptor.

I'll put my dunce hat on now :)

Gerald Heinig wrote:
Hello,

I have a problem with duplicate packets being received by my read complete routine.
I have a receive ring size of 8 and I perform 8 asynchronous reads before I start packet reception. When I get a read complete, I process the packet and perform another read to keep my buffer ring full of armed reads.
Every so often, I get completely duplicate packets received, which I first noticed using ping.


This does not happen when I have only one outstanding read instead of 8.

Has anyone else experienced this or knows what might be causing this?

Thanks very much for any pointers.

Cheers,
Gerald

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden
References: 
 >Duplicate receives with multiple reads (From: Gerald Heinig <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.