# \[REQUEST\] Simple OnlineSubsystemNull example

**URL:** <https://forums.unrealengine.com/t/request-simple-onlinesubsystemnull-example/299379>\
**Category:** Community & Industry Discussion\
**Tags:** onlinesubsystem, Networking, example, lan, unreal-engine, question\
**Created:** [November 19, 2014, 4:55pm UTC](https://forums.unrealengine.com/t/request-simple-onlinesubsystemnull-example/299379 "2014-11-19T16:55:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_fc4c82b6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fc4c82b6](https://forums.unrealengine.com/u/anonymous_user_fc4c82b6)\
**Post date:** [November 19, 2014, 4:55pm UTC](https://forums.unrealengine.com/t/request-simple-onlinesubsystemnull-example/299379/1 "2014-11-19T16:55:04Z")

</div>

Hey,

I’m digging through the (not-so-informative) documentation for the OnlineSubsystem and I’m really just looking for “simple” LAN-examples (I don’t even need fancy Matchmaking and that kind of stuff), yet it is really hard to try stuff as all the interfaces require a ton of other implemented stuff and it’s just really frustrating at the moment to get networking-related-functionality to work, so if somebody has any advice on how to get that simple stuff going, I’d be really thankful!

I did manage to “host” a session with the following code:

```
IOnlineSubsystem* OnlineSub = IOnlineSubsystem::Get();
	if (OnlineSub)
	{
		FOnlineSessionSettings settings;
		settings.bIsLANMatch = true;
		settings.bAllowJoinInProgress = true;
		IOnlineSessionPtr Sessions = OnlineSub->GetSessionInterface();
		if (Sessions.IsValid())
		{
		//	UMyGameSessionSettings settings;
			bool bSuccessful = Sessions->CreateSession(0, FName("NewSession"), settings);
         }

```

}

Joining that session is no working at all though 😕

Thanks in advance

PS: I did look in the ShooterGame-example, but the implemented functionality in there is somehwat overwhelming (as it does way more than what is needed for simple understanding)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fc4c82b6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fc4c82b6](https://forums.unrealengine.com/u/anonymous_user_fc4c82b6)\
**Post date:** [December 8, 2014, 2:34pm UTC](https://forums.unrealengine.com/t/request-simple-onlinesubsystemnull-example/299379/2 "2014-12-08T14:34:10Z")

</div>

The new Blueprints made this somewhat resolved, so I close this question!  
Thanks Epic!
