In your case, I recommend using the UDP VIs, which offer the least amount of overhead of all the network communication methods. UDP is an unassured service, meaning your packets might not get to the receiver in order, or might not get to the receiver, period. On a private network, you can minimize UDP packet losses if you have a way to avoid collisions. If you have control over the network topology, you may even be able to ensure all UDP packets arrive in order.
If you need an assured service, use TCP VIs. They'll guarantee all your packets arrive (and arrive in order).
The disadvantage is you lose the convenience of Datasocket.