3 ms·
I thought about this before (P2P communication similar to Twitter), but not via ssh. Why not just dedicate an incoming port (configurable) per group that you wa
by devmonk 16y ago
I thought about this before (P2P communication similar to Twitter), but not via ssh. Why not just dedicate an incoming port (configurable) per group that you want to associate with?
- As soon as you started the connection, it would try to connect to all group members via their ports. If the group list is old, or if some are offline, maybe some/all wouldn't work.
- Whoever has the fastest response time, if their group list is newer than the existing group list, the client requests an updated group list from (just in-case it is out of date). If no one is online, obviously this doesn't happen. The user of the client trying to update must ok the changes to the group list (to keep someone from gaming the system). You could also specify who to get the grouplist from.
- At this point the client must be ok'd by the others if his IP/port has never been accepted into the group before.
- If accepted, at this point the client is flagged as someone who has a group list to share.
- At this point the client can communicate with others in the list, and if you want it to be microblogging or just IM'ing, anything goes, depending on the client.