What do you think is the best method of inter-processes communication with GameLogic? I’ve been using sockets, but it seems me that sockets create unnecessary overhead and would slow down older systems. Whenever the system is slow creating a socket, the game freezes up while it waits.
I’ve been trying to make Blender launch a thread that handles the sockets (it’s my understanding this will allow Blender to run the game smoothly while the thread modifies the datasets I’m keeping track of), but I can’t seem to get this working.
Reading and writing a common file is another way to go, but also creates enormous overhead.
A memorymaps have been suggested, but the need for a physical file to be mapped seems extraneous.
Does anyone have any other ideas?