dashersw / dashersw/cote

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

Open
#237 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.4k
Forks
184
PR merge metrics
No merged PRs in 30d

Description

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...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.