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.
In reply to Re: Socket or not
by PeterPeiGuo
in thread Socket or not
by patmcl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |