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

Subscriber binding a socket instead of connecting (client vs server) ? #237

Open
joelguittet opened this issue Dec 15, 2020 · 0 comments
Open

Comments

@joelguittet
Copy link

joelguittet commented Dec 15, 2020

Hello @dashersw

Following development of the c-cote library, I notice that the Publisher is always a "server", which means it is binding a socket, while the Subscriber is always a "client", connecting to discovered server.

I think user can benefit of the opposite too: a Subscriber "server", binding a socket and waiting for Publisher "clients" to send data.

Is it something that was studied ? wanted maybe by other people ?

This can be the beginning of a discussion on the subject if you want. This is still something handle by Axon but just need to be used in cote if we want it.

Joel

PS : I though about Requester and Responder but not sure it is a real use case to have Requester binding a socket and Responder connecting to clients...

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

No branches or pull requests

1 participant