How to setup networking?

The ShooterGame demo is yours to modify or extend as much as you please. Experimentation is a great way to learn. Check out the answer in this thread for some places to start: Any other reference/guides? to C++ Networking? - Editor Scripting - Unreal Engine Forums

You also may benefit from watching/reading the blueprint networking content, as it is relevant to C++ as well.

Some good docs:

A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums,Using_ReplicatedUsing/_RepNotify_vars