erpc
erpc copied to clipboard
Multiple servers running on one process
Hi, When creating multiple servers, it looks like g_server in erpc_server_init will get overwritten with each new server init. Is it possible to have more than one server running on one process? Thanks!
Hi eRPC user. Thank you for your interest and welcome. We hope you will enjoy this framework well.
Hello @Qeenyra , I am afraid multiple servers are not supported yet.
Hi, there can be multiple resource independent servers run. Just do not use default setup implementation for server. You can get inspiration from there to create as many servers as you want ;)
I am thinking that we can change implementation of these functions to add to each function server id. And define in erpc_config the amount of servers. This way we can provide this functionality to users.