I have an Android app with an Indy TIdUDPServer
component that is receiving data packets over a wireless network. It appears that Android phones periodically tie up the network for parts of a second, causing my server to miss packets (please do not comment on UDP vs TCP vs Tethering built in to RAD Studio).
I want to know - can I set the priority of my program, and/or the separate thread of the TIdUDPServer
component, to a higher priority such that the bloatware on the phone doesn't keep getting in my way?
If so, I would appreciate an example.
For reference, I found this: