How to send data from PC App to Game?

Hi, I want to send a data from pc app to a game but the problem is all I can find is the TCP connection. Is there another way that I can do other than TCP because the game is running on the same machine (pc)?

The TCP connection is already reserved by a mobile app. I don’t want the latency to increase and the complexity of code exceeds. So, my best shot is there any way to communicate the pc and the game(ue4) without using TCP? They’re running on the same machine.

The code language for the pc app is JAVA

Thank you.

Hi! It in fact is not an answer, but you can try to research pipes. They are mainly for data tranmission between processes. FGenericPlatformProcess::ReadPipe | Unreal Engine Documentation

Hi, Thank you for the suggestion. But, I might need more information. Is there any tutorial that you can point it out for me, please? I could not find any tutorials regarding this method. Maybe, it isn’t common among the developers.
Honestly, I never heard about it myself until you commented on my issue.

I have no exp with Java but you can take a look at this

Hi, Thank you again for your comment. :slight_smile:
Based on these links, do you know how I can use the function? It seems like I need to create the function myself. But, I have no idea how to do so. Sorry, I just using Tick, beginplay, custom event and overlap events on c++ code, never had to use like this.

Read
Create

Hi! Here you can look at the example (it seems that here is interaction with Source control process)

https://github.com/EpicGames/UnrealEngine/blob/df84cb430f38ad08ad831f31267d8702b2fefc3e/Engine/Plugins/Developer/SubversionSourceControl/Source/SubversionSourceControl/Private/SubversionSourceControlUtils.cpp#L88

Anyway I think that to solve this problem with quality you need to work it out…