lp:~psmay/+junk/perl-socket-mux-poc

Created by Peter S. May and last modified
Get this branch:
bzr branch lp:~psmay/+junk/perl-socket-mux-poc
Only Peter S. May can upload to this branch. If you are Peter S. May please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Peter S. May
Status:
Development

Recent revisions

3. By Peter S. May <http://psmay.com>

Some serious progress!

To ease associating handles with buffers, a system is used to produce a
bidirect ional mapping between handles and string keys. At the moment
it's terribly stupid in that it simply uses the `fileno`, and if we
decide to stick with that idea (which wouldn't be insane since that's
how `select` is modeled) there are implementations that don't involve so
much unnecessary abstraction.

Parts of this code are intended to make it easy for the action to take
place on a console, including a bit where stdin on the server is
broadcast to all currently open sockets. The eventual product will use
an efficient binary format, and packets given on input will only be
forwarded to the socket to which they are addressed (if in fact they are
forwarded at all—the server will also accept other commands that don't
correspond to output).

2. By Peter S. May <http://psmay.com/>

Still hashing out

1. By Peter S. May <http://psmay.com/>

Initial and broken

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers