I believe what you're running into is SO_RCVBUF. This is the maximum size allowed by the socket within the kernel. You can try using setsockopt to increase this for your socket. So somthing like this:
[udpSocket performBlock:^{
int socketFD = [updSocket socketFD];
setsockopt(….);
}];
Also, do some googling for MTU, and MTU path discovery. If you're sending packets this big, they're likely getting fragmented as ethernet MTU may be 1500 bytes. Which may or may not be an issue.
-Robbie Hanson
> --
> You received this message because you are subscribed to the Google Groups "CocoaAsyncSocket" group.
> To post to this group, send email to cocoaasy...@googlegroups.com.
> To unsubscribe from this group, send email to cocoaasyncsock...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cocoaasyncsocket?hl=en.
>