Re: [U2] Multi-threaded phantom processing

"David A. Green" <[email protected]> Wed, 5 Mar 2014 05:34:55 -0700
Newsgroups gmane.comp.db.u2.general
Message-ID <000301cf386f$5102ff70$f308fe50$@com>
I don't know how you would query the OS on the fly, but you can do a manual search for a bank of 10 or 20 unused ports and "claim" them.

David A. Green
(480) 201-7953
DAG Consulting

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Peter Cheney
Sent: Tuesday, March 04, 2014 9:30 PM
To: 'U2 Users List'
Subject: Re: [U2] Multi-threaded phantom processing

Thanks David. As they say "Bigger than Ben-Hur"!

That's a great idea. The server I have is listening on a predetermined port. I trolled through /etc/services and a netstat on the remote host to select something that looked unused.

So then if it the main phantom spawns 1-n children (presumably more phantoms?), it would also need to select 1-n ports which I suppose must also be predetermined? Or is there a call to the OS that can return an unused port? We're on AIX but the remote host is HPUX.

Cheers
Peter



Peter Cheney
Ultracs Developer
t 07 3017 8837 | f 07 3002 8400
e [email protected]
w firstmac.com.au


_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users