Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple client support usage #398

Open
tmordeko opened this issue Jan 18, 2024 · 7 comments
Open

Multiple client support usage #398

tmordeko opened this issue Jan 18, 2024 · 7 comments
Labels

Comments

@tmordeko
Copy link

Hi,

Is there an example of usage for the upcoming multiple client support ?

Thanks

@Hadatko
Copy link
Member

Hadatko commented Jan 18, 2024

Hi @tmordeko Just this so far and tests:
https://github.com/EmbeddedRPC/erpc/pull/392/files

@tmordeko
Copy link
Author

Hi @Hadatko
Not sure I understand the usage from the test you pointed me to in your previous reply, is it available only over TCP transport erpc_transport_tcp_init ? does it continue to use same simple server data structure ?

Thanks

@Hadatko
Copy link
Member

Hadatko commented Jan 25, 2024

Any transport supported transport can be used. Not supported transport can be added trough PR.

@amgross
Copy link
Contributor

amgross commented Feb 20, 2024

Hi @Hadatko ,
I am probably missing something, where in this example I can find two clients? I see just one.

@Hadatko
Copy link
Member

Hadatko commented Feb 20, 2024

Hi @amgross, there is no examples with two clients directly. Just example how to init client with new code. If you init two clients and everything in that init is doubled it should work.

@amgross
Copy link
Contributor

amgross commented Feb 20, 2024

OK, thanks @Hadatko, understand.
This new feature is about one application having two clients talking to two different servers and not one server serving two clients, am I correct?
Is there is plan to support one server serving two clients in parallel?

@Hadatko
Copy link
Member

Hadatko commented Feb 20, 2024

Yes you are correct. One server is currently serving request on one transport layer, so i would said that depends on transport layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants