Sending data over a network

Basically what im trying to do is when i click a button as the host the client does an action. How do I go about doing that.

How about learning how to use UNET?