How to instantiate indipendent thread

Hi.
I’m creating an application for receiving external data from the network in a custom format. Then I need to parse those data, and create positions that then will be used in a custom controller for setting position of an actor.

In order to do it I’ve created a “NetworkReceiver” class that receives the data from the network, parse them and calculate the position of the actor. I’ve also created a “MyNetworkController” class that inherits AController, and ther’s a “setNetworkReceiver(NetworkReceiver* receiver)” method for setting the method into it.

My question is: in which part of C++ code can I create an instance of my “NetworkReceiver” class, that should run in separate thread, and how can I pass it into my custom controller?