Best practice for large packets
Best practice for large packets
- Subject: Best practice for large packets
- From: Jonathon Kuo <email@hidden>
- Date: Tue, 18 Jan 2011 08:07:12 -0800
In sending/receiving large packets over TCP, I've noticed that if I try to use packets larger than 90k on our WAN, or packets larger than 146k on our LAN, the reads and writes will timeout.
read(): Operation timed out
So I'm thinking that this is why IOVs were created. Before I go through all the hassle to reimplement everything using reav() and writev(), is this the right approach? Is there a #DEFINE or known "safe" size for each vector - 10k? 50k?
_______________________________________________
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