# How to setup networking?

**URL:** <https://forums.unrealengine.com/t/how-to-setup-networking/304981>\
**Category:** Multiplayer & Networking\
**Tags:** Networking, tutorial, unreal-engine, documentation, CPP, question\
**Created:** [January 26, 2015, 12:48am UTC](https://forums.unrealengine.com/t/how-to-setup-networking/304981 "2015-01-26T00:48:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mattlauk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mattlauk](https://forums.unrealengine.com/u/Mattlauk)\
**Post date:** [January 26, 2015, 12:48am UTC](https://forums.unrealengine.com/t/how-to-setup-networking/304981/1 "2015-01-26T00:48:49Z")

</div>

I’m looking to setup the networking (i.e. GameSession, MatchMaking, ect.) of my game and while the shooter example demonstrates this, it’s not straight forward and doesn’t do much for explanation. I would really like to learn how to properly setup the multiplayer features but there’s no walkthrough or explanation of how to do so.

also, do I have the option of building on top of the ShooterGame demo or do I risk some sort of legal actions. I would love to learn how to set this stuff up but the lack of information and documentation is really discouraging me.

There has to be some sort of useful information somewhere, right? I mean, how do the people at Epic learn how to use and implement this stuff?

---

<div class="post-metadata">

**Author:** ![nopunintendo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nopunintendo](https://forums.unrealengine.com/u/nopunintendo)\
**Post date:** [January 26, 2015, 1:27am UTC](https://forums.unrealengine.com/t/how-to-setup-networking/304981/2 "2015-01-26T01:27:46Z")

</div>

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](https://answers.unrealengine.com/questions/100074/any-more-referenceguides-to-c-networking.html)

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](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

[A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums](https://wiki.unrealengine.com/Network_Replication),_Using\_ReplicatedUsing_/\_RepNotify\_vars

---

<div class="post-metadata">

**Author:** ![Mattlauk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mattlauk](https://forums.unrealengine.com/u/Mattlauk)\
**Post date:** [January 26, 2015, 1:40am UTC](https://forums.unrealengine.com/t/how-to-setup-networking/304981/3 "2015-01-26T01:40:09Z")

</div>

Thanks for the info. I do understand replication and RPC’s. It’s pretty simple. I’ve even put together my own implementation to handle “Big Data” because currently UE4 can’t do it. What I am having trouble with is setting up Sessions and Matchmaking using an online subsystem.

I think this is the site that is meant to be used for documentation and examples but at closer inspection of the links and information, it’s rather lacking.

**[Online Subsystem Overview](https://docs.unrealengine.com/latest/INT/Programming/Online/index.html)**

---

<div class="post-metadata">

**Author:** ![nopunintendo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nopunintendo](https://forums.unrealengine.com/u/nopunintendo)\
**Post date:** [January 26, 2015, 1:47am UTC](https://forums.unrealengine.com/t/how-to-setup-networking/304981/4 "2015-01-26T01:47:05Z")

</div>

I agree that it is lacking quite a bit, I think their main focus is on Blueprint support for the non-programmer at the moment as they added Online Subsystem session nodes to Blueprint recently. I think your best option right now is to look at ShooterGame code, or the Unreal Tournament code which is on GitHub.

---

<div class="post-metadata">

**Author:** ![Mattlauk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mattlauk](https://forums.unrealengine.com/u/Mattlauk)\
**Post date:** [January 26, 2015, 1:54am UTC](https://forums.unrealengine.com/t/how-to-setup-networking/304981/5 "2015-01-26T01:54:40Z")

</div>

I’ve been browsing the ShooterGame code but didn’t even think about looking at the UT code. I’ll have to get that tomorrow and check it out! In the mean time, I need a beer.

---

<div class="post-metadata">

**Author:** ![nopunintendo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nopunintendo](https://forums.unrealengine.com/u/nopunintendo)\
**Post date:** [January 26, 2015, 1:57am UTC](https://forums.unrealengine.com/t/how-to-setup-networking/304981/6 "2015-01-26T01:57:36Z")

</div>

Best of luck, sorry I couldn’t be of more help. Hopefully someone with more experience will chime in.

---

<div class="post-metadata">

**Author:** ![Mattlauk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mattlauk](https://forums.unrealengine.com/u/Mattlauk)\
**Post date:** [January 26, 2015, 2:32am UTC](https://forums.unrealengine.com/t/how-to-setup-networking/304981/7 "2015-01-26T02:32:52Z")

</div>

Thanks. I’m thinking I should be able to compare UT with ShooterGame and have a better idea of what is happening.
