I'm thinking about making a modification for a game called Unreal Tournament 2004, and basically I already have a C++ program that I want to interact with the game (a chat bot I've created). The thing is though, I've been told that to do this, I need to write something in Unreal Script, and then write some C++ code in my program that basically communicates with the game via TCP or UDP.
So I'm wondering, how difficult would it be to write a C++ program that sends/ receives info via TCP or UDP? Too difficult for a beginner? Any tutorials anywhere?