In this article you will find information about how to do this:
"Using the network-published shared variable, you can write to and read
from shared variables across an Ethernet network. The networking
implementation is handled entirely by the network-published variable."