EventMachine, single-character input, and start_server?

Hi! EventMachine is really nifty. It even supports single-character input, which is something I've realized I need... but I'm not sure it supports it over a network connection. Or, rather, I'm thinking maybe it doesn't.

So:
1) Can I get character-at-a-time input via EventMachine for a network-based connection?
2) Failing that, what other recommendations might be out there? I mean, I can code my own, but EventMachine did such a nice job abstracting so much of the irksomeness that I'm leaning toward it, well, a lot.

Thaniks for ideas and suggestions!

-Ken

Hello Ken,
From your writings this could be achieved if you read a maximum of one
character through the network connection underlying socket.
I don't thing this has to do with event machine, it is just an IO matter.
:slight_smile:

ยทยทยท

On 06/23/2018 07:04 AM, Ken D'Ambrosio wrote:

Hi! EventMachine is really nifty. It even supports single-character
input, which is something I've realized I need... but I'm not sure it
supports it over a network connection. Or, rather, I'm thinking maybe
it doesn't.

So:
1) Can I get character-at-a-time input via EventMachine for a
network-based connection?
2) Failing that, what other recommendations might be out there? I
mean, I can code my own, but EventMachine did such a nice job
abstracting so much of the irksomeness that I'm leaning toward it,
well, a lot.

Thaniks for ideas and suggestions!

-Ken

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

--
--
--A.D Masiakos
--GIAC REM #4706
--KeyId: 0x48D84811
--http://recodestuff.wordpress.com