I'm using the ndk lib (2_20_06_35) in my projecta, and my platform is DM648. I want to improve the network transmission speed,so I need to increase the transmission buffer size.I have changed the SO_SNDBUF as follow:
int rcvbuf_len = 16384;
setsockopt( sStream, SOL_SOCKET, SO_SNDBUF, &rcvbuf_len, 4);
I found that when the rcvbuf_len is Greater than 16384,the network will died, and return the error of "EWOULDBLOCK ".
I want to konw what are the other parameters should be modified,such as "pbm".