You can either install the tv_grab_file script on your box and use the "internal" grabber config to select that script (it must be in the PATH). Or you can use netcat to send data into the xmltv.sock (it cannot be done remotely).
The main reason to use the socket interface is if you have to run multiple scripts OR what finer grained control over the timing (from cron).
If you simply want to run the tv_grab_file script periodically and nothing more I'd use the internal config method.
Adam