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: Losing Big UDP packets through localhost




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: http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

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:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden

References: 
 >Losing Big UDP packets through localhost (From: John Harte <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.