# How to build RakNet as a plugin for UE4 so it can be used with blueprints ?

**URL:** <https://forums.unrealengine.com/t/how-to-build-raknet-as-a-plugin-for-ue4-so-it-can-be-used-with-blueprints/313446>\
**Category:** Plugins\
**Tags:** Networking, unreal-engine, Scripting, Plugins, UE4, Blueprint, question\
**Created:** [April 1, 2015, 7:26pm UTC](https://forums.unrealengine.com/t/how-to-build-raknet-as-a-plugin-for-ue4-so-it-can-be-used-with-blueprints/313446 "2015-04-01T19:26:23Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [April 20, 2015, 8:39pm UTC](https://forums.unrealengine.com/t/how-to-build-raknet-as-a-plugin-for-ue4-so-it-can-be-used-with-blueprints/313446/4 "2015-04-20T20:39:27Z")

</div>

For plugin info:

> **[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 — https://unrealcommunity.wiki/! You will be able to find content from...

UE4 got common interface for all online services and solutions called OnlineSubsystem:

> **[Online Subsystem](https://docs.unrealengine.com/5.1/en-US/online-subsystem-in-unreal-engine/)**
>
> Overview of the various systems related to the online platform.

[https://docs.unrealengine.com/latest/INT/API/Runtime/OnlineSubsystem/index.html](https://docs.unrealengine.com/latest/INT/API/Runtime/OnlineSubsystem/index.html)  
[https://docs.unrealengine.com/latest/INT/API/Runtime/OnlineSubsystem/Interfaces/index.html](https://docs.unrealengine.com/latest/INT/API/Runtime/OnlineSubsystem/Interfaces/index.html)

You need to plug RakNet in to that interface and engine conna support it seemlessly, even some games may work without much touch.I don’t really know how to exactly do it and there really lack of documention on OnlineSubsystem, so you will need to look up existing implementation for SteamWorks, Google Plus, iOS game thing or even Facebook. You can find all of them here (PSN and Xbox Live is missing as they under NDA):

I also not sure if this will work with plugins, if not can always paste code to project.

As for Blueprint, only those parts of OnlineSubsystem is exposed:

> **[Online](https://docs.unrealengine.com/5.1/en-US/BlueprintAPI/Online/)**
>
> Online

For more you need to expose those features yourself, or wait for Epic to do it

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-build-raknet-as-a-plugin-for-ue4-so-it-can-be-used-with-blueprints/313446)._
