buffer problem in mac osx...
so i'm trying to send a message of length 99840 bytes over my network from one computer to another. the recipient is running mac osx and if i try to set the buffer size of the recv command to anything above somewhere around 15000 i get a seg fault. i've been able to run this program fine on linux (fedora core 2) with a buffer size of 100,000 and i would like to keep the code on my sender as it is right now, so is there any way to avoid this seg fault? any way to increase the max size of a recv buffer? know why this is happening? any help would be greatly appreciated.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement