How can i receive and send rpc calls to another program to godot?

hello, i need to receive and send rpc calls from another cpp program to godot but i don’t know how i can achieve this, i know godot uses enet but i am not sure whats used for data serialization.

My goal is to create a game for microcontroller based mini pc named m5stack CardPuter.

1 Like

Probably the easiest thing to do is roll your own RPC client in C/C++ to talk to your other program, and then connect Godot to your client with OS.execute_with_pipe(). Once you have that in place, you can roll whatever protocol you like over the pipe between your Godot project and your RPC client.

1 Like