• 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: Losing Big UDP packets through localhost
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Losing Big UDP packets through localhost


  • Subject: Re: Losing Big UDP packets through localhost
  • From: Adi Masputra <email@hidden>
  • Date: Wed, 23 May 2007 21:21:13 -0700


On May 23, 2007, at 8:43 PM, John Harte wrote:

Hello,

I can't pass UDP packets > 16kB over localhost using 10.4.9.

I have a server that sends UDP packets up to 32kB in length and a client that receives them. The server sets its output buffer size to 32Kb with SO_SNDBUF, the client sets its input buffer size to 64kB with SO_RCVBUF.

It all works when the client and server run on separate machines. When the client and server are on the same machine the client receives no packets. Reducing the size to 16kB works.

Is there something I can change to allow the bigger UDP packets through?
I found nothing obvious in sysctl.

A workaround is to increase the MTU of the loopback interface high enough to avoid IP fragmentation.

Adi


Thanks John _______________________________________________ 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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Losing Big UDP packets through localhost
      • From: John Harte <email@hidden>
References: 
 >Losing Big UDP packets through localhost (From: John Harte <email@hidden>)

  • Prev by Date: Losing Big UDP packets through localhost
  • Next by Date: Re: Losing Big UDP packets through localhost
  • Previous by thread: Losing Big UDP packets through localhost
  • Next by thread: Re: Losing Big UDP packets through localhost
  • Index(es):
    • Date
    • Thread