[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some limbo questions...

		   O Muses, O high genius, now assist me!
		O memory, that didst write dowll what I saw,
		    Here thy nobility shall be manifest !
I have the core of Council (chat server) working and runninghowever, I had
some questions about channels and networking.

Is it possible, somehow, to bind a channel to a tcp connection?  Council is
intended to serve both inferno and non inferno (via telnet for now) clients.
It would be nice if I could use the channel interface to deal with it.

If not - is there anything like the select for files, assuming I can't use
channels.  Right now - I have Council using a thread per user (with a simple
critical section locking scheme to protect against multiple threads writing
simultaneously to a user) - and I'd like to see if I could rework it somehow
(perhaps using a thread per channel, or something like that).

Anyway, that's the question of the day from this peanut in the gallery,