in reply to Socket Handle not sending data ?
push that created socket handle(no need to push the port number too) into an array, and iterate through that array to send data when you want to.
that text file idea won't work.
I am not sure about, whether one can persistently store a socket handle into a file and use it on the next launch of the same script. This could happen rarely and I think you have not encountered a relevant situation like this.
Vivek
-- 'I' am not the body, 'I' am the 'soul', which has no beginning or no end, no attachment or no aversion, nothing to attain or lose.
that text file idea won't work.
I am not sure about, whether one can persistently store a socket handle into a file and use it on the next launch of the same script. This could happen rarely and I think you have not encountered a relevant situation like this.
Vivek
-- 'I' am not the body, 'I' am the 'soul', which has no beginning or no end, no attachment or no aversion, nothing to attain or lose.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Socket Handle not sending data ?
by evilkamikaze (Initiate) on Jul 09, 2009 at 14:31 UTC | |
by ikegami (Patriarch) on Jul 09, 2009 at 15:28 UTC | |
by evilkamikaze (Initiate) on Jul 09, 2009 at 19:04 UTC | |
by ikegami (Patriarch) on Jul 09, 2009 at 19:19 UTC | |
by evilkamikaze (Initiate) on Jul 09, 2009 at 19:34 UTC |
In Section
Seekers of Perl Wisdom