How would you send a vector variable over lan

How do you send a variable updating on tick over a LAN connection between a computer and a phone?
The computer is the hosing engine