I -think- what we’re aiming towards is something that is separate from the Unity networking altogether. The blueprint networking is built on TCP and (i believe) handles all of the TcpSocket creation, listening, sending, etc for you, so that all you need to worry about is the relationship of game data between instances, moreso than how that data gets sent back and forth.
A home-brew UDP solution would be a bit closer to the metal, so to speak.
I think it would require a ConstructionScript which would call the FUdpSocketBuilder function, and then a separate node which would respond to the data received by using that pointer to a function that you mentioned.
(I’m fuzzy on the relationship between Blueprints and C++)
Ok. I’m fine with exposing functions and variables to blueprints. The line there that I have no idea about is “all you need to worry about is the relationship of game data between instances”. I’ll dig into that over the weekend, not going to be able to do anything sooner. Anything you find on that in the meantime, let me have it!
, it’s my ‘weekend project’ too, which has started to decimate my workday, apparently. I’ll see if I can’t tell you more about what I’m doing, and play with it some in the evenings between now and then, as well.
I’m also really interested - i’ve had a tinker with some half developed code I found in the answehub somewhere but i’m just too newb to make it work.
I want to send unreal commands from a python script (I can use python to do most of the things I need to do but i’m dead stuck with CPP) Ideally it’d be some kind of KEY+VARIABLE transmission to a blueprint node, which I can then test and split into other commands. If anyone can help point me in the right direction i’d be most appreciative.
I’ve seen gmpreussner answer this question in a bunch of different ways during my search for this answer.
gmpreussner usually renferences a udp module that apparently makes things easier. If you see this gmpreussner, an in-depth look at how to implement this for a 3rd party program sending UDP signals would be epic! I have a media server that I’d like to send UDP or FTP from, and have UE4 trigger nodes when it’s received.