• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Lost UDP packets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lost UDP packets


  • Subject: Re: Lost UDP packets
  • From: Mark Hunt <email@hidden>
  • Date: Mon, 27 Sep 2004 15:49:17 +0100

Ok,

A few printf's and some netstat evidence reveals:

The lost packets _are_ being dropped "due to full socket buffers" - the netstat lost packet count exactly matches the missing packets in my app.

Also, the packet loss occurs around the same packet index every time. The first lost packet is always about #102, and all remaining packets of the 160-170 sent are lost.

The socket SO_RCVBUF size is 224k (biggest I can get, and I do read it back to check), and my packets are 1048 UDP bytes each, so there should be plenty of room.

These packets are sent as a burst at 30Hz intervals, so there's plenty of time to empty the buffers.

I don't understand why I'm over-running. It doesn't happen very often (about once every 3 to 5 seconds) but it should be avoidable.

All machines are Dual 2Gig G5s. The link is 1000baseTX <full-duplex>, according to ifconfig.

We're using Small Tree Dual gigabit cards to add the extra network to the receivers. Since they didn't need drivers installing, I assume Apple's driver is handling the chipset. Where do I go to find it's plist (sorry for the dumb question)?

Mark


This message was checked by Mcafee Virusscan Enterprise


_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re(2): Lost UDP packets
      • From: "Peter Lovell" <email@hidden>
  • Prev by Date: OTConnect and TCall Question
  • Next by Date: Re: OT: MPW over MacOS X
  • Previous by thread: Re: Lost UDP packets
  • Next by thread: Re(2): Lost UDP packets
  • Index(es):
    • Date
    • Thread