Does it make sense to have several UDP ports ready? Will packets be dropped?
Posted
by Gubatron
on Stack Overflow
See other posts from Stack Overflow
or by Gubatron
Published on 2010-04-04T12:31:21Z
Indexed on
2010/04/04
12:33 UTC
Read the original article
Hit count: 210
I'm coding a networking application on Android.
I'm thinking of having a single UDP port and Datagram socket that receives all the datagrams that are sent to it and then have different processing queues for these messages.
I'm doubting if I should have a second or third UDP socket on standby. Some messages will be very short (100bytes or so), but others will have to transfer files.
My concern is, will the Android kernel drop the small messages if it's too busy handling the bigger ones?
© Stack Overflow or respective owner