How can 2 apps pass the data between, excepting just a file on a drive ?
It's for saving SSD flash from run-out by lots of RW-operations.
If important - let it be under Windows OS.
UDP is not guaranteed to arrive. Yes, it works 99% of the time but as one who has used it in a production setting I ended up sending each message 3 times. If you are on the same machine I would use memory mapped files.