TCP Socket Listener, Receiving Binary Data into UE4 From a Python Script!

, where would you put this code?

In a C++ project of course but a Game Mode or World Settings class via the Add Code option?

Sorry for the newbie question!

Peter