Callback functions?

I would like to use a function that is running at speed 1kHz to acquire data from the network. I'm not familiar with coding callback functions. Is there a simple example to illustrate the concept.
Topic archived. No new replies allowed.