Limit ports used by an app

Alt_F4

Member
Joined
Nov 6, 2008
Messages
6
Programming Experience
1-3
Hi all,

I have written an application that connects to 800+ devices via a mobile network. Currently when a connection is made to one of these devices the app will use the first available port. For security reasons I would like to restrict the range of ports used to around 1000. Does anyone have any ideas on how to achieve this??

TIA
 
Top Bottom