P is for Practical | |
PerlMonks |
Re: Socket Handle not sending data ?by targetsmart (Curate) |
on Jul 09, 2009 at 10:42 UTC ( [id://778536]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|