Does it make sense to have several UDP ports ready? Will packets be dropped?
- by Gubatron
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?