Re: test if socket is open only
- From: Michael Greb <michael@xxxxxxxxxxxx>
- Date: Mon, 06 Mar 2006 17:59:24 -0600
In article <1141675081.249663.109660@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"usaims" <usaims@xxxxxxxxx> wrote:
Thank you Mike, thats what I was looking for. Now, what would be the
'perlish' way of doing this across 100 nodes?
You need to quote some context of the message you are replying like I
have done. Check the group posting guidelines for instructions on doing
this via Google Groups.
How do you have the list of IPs stored? If you have an array your
could use a for loop but I'm not sure that sample code should be used in
such a case. I imagine it would leave all of the connections open until
the script was finished. Perhaps scoping the IO::Socket::INET to the
for loop would cause the object to get destroyed right away closing the
connection. There are likely much better choices for doing the actual
verification of the port being open but I haven't done sockets stuff in
perl for some time.
--
Michael
michael@xxxxxxxxxxxx
.
- References:
- test if socket is open only
- From: usaims
- Re: test if socket is open only
- From: Michael Greb
- Re: test if socket is open only
- From: usaims
- test if socket is open only
- Prev by Date: Re: test if socket is open only
- Next by Date: Re: Interacting With A Terminal App
- Previous by thread: Re: test if socket is open only
- Next by thread: Re: test if socket is open only
- Index(es):
Relevant Pages
|