Re: Getting a free TCP port & blocking it
- From: theneb <onetwofour@xxxxxxxxx>
- Date: Sat, 1 Mar 2008 04:28:22 -0800 (PST)
On Feb 29, 11:11 pm, Tim Roberts <t...@xxxxxxxxx> wrote:
theneb <onetwof...@xxxxxxxxx> wrote:The system the app will run on will be creating three instances of the
I'm attempting to block a TCP port from any other application from
using it until I free it from python, this is so that:
1). Generate a random free user-space port
2). Generate the script for the external program with the port
3). Free the port before external program execution.
What's the point? Why can't the actual user of the port create the port,
and then notify the other side of the port number?
external application, the python app has to keep track of which port
the external app is running on.
And why don't you just specify a port number of 0 and let the system assign
you a free port number?
Tim Roberts, t...@xxxxxxxxx
Providenza & Boekelheide, Inc.
- Prev by Date: Re: invert or not ?
- Next by Date: ANN: eric 4.1.1 released
- Previous by thread: Re: Getting a free TCP port & blocking it
- Next by thread: Python COM automation - Controlling Microsoft Agent