Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Socket or not

by PeterPeiGuo (Hermit)
on Nov 24, 2010 at 15:18 UTC ( [id://873468] : note . print w/replies, xml ) Need Help??

in reply to Socket or not

One alternative is to run your script periodically. You probably need to slightly adjust your script, so it knows whether there is any new data to be processed.

On the other hand, it is a fine idea to use a socket to talk. the coding is minimum.

Peter (Guo) Pei