If you use a port in the non-restricted range you would be unlucky to hit one that was in use. Maybe all you need to do if you do get a BindException is to just try the next one (etc) until its OK.
Reputation Points: 1910
Solved Threads: 951
Posting Expert
Offline 5,768 posts
since Apr 2008