Comment by josefx
3 years ago
Wouldn't that still end up with sub optimal network messages unless those large buffers are an exact multiple of the MTU on the network?
3 years ago
Wouldn't that still end up with sub optimal network messages unless those large buffers are an exact multiple of the MTU on the network?
Hm, I'm not 100% sure about this. If your first buffer is big enough, your next write should be issued before the OS has managed to write it all.