Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: NDK transmitting fragmeneted UDP

$
0
0

lech,

Can you try increasing the size of the send buffer for your socket (that you are trying to send UDP data on)?

The code would look similar to the following:

    /* change below size of 8192 to the size that's most appropriate for your app */
    int i = 8192;
    setsockopt(mysocket, SOL_SOCKET, SO_SNDBUF, &i, sizeof(int));

Steve


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>