External data input output

Hi,
This is my first post and I am new to Codea after development in RealBasic and some Processing.js.
I was wondering about file data input and output form an external source outside the iPad.
Is it possible to read and write continuously to a file locally stored on my Macbook ?

A server Udp or Tcp socket would be preferable, but from what I read I guess this is not doable yet.
However a file I/O could be second best and I have done that before.

My first Codea app will be a small flightsim panel driven by data from the flight simulator and my own little data server.

Re Peter