On Tue, 8 Sep 1998, Brian Langenfeld wrote:
> Thanks for your response; I did try this, and although it didn't work
> for me, while trying to figure out why I found out something sort of
> interesting: process_input( ) isn't being called each time a key is
> pushed. It's only being called when I press that big one above my right
> shift key. Damn.
> Any other suggestions?
telnet connections to on-telnet ports are per default established in line
mode - your telnet client doesn't send a character each time you press a
key, but only when you have entered a whole line.
You can change this by using telnet negotation, but I doubt many MUD
clients support character mode.
Also, in character mode, a packet will be sent nearly every time you press
a key. That's rather inefficient.
Search the net for character + telnet + negotation, or look at e.g.
LPMUD server, most of which are capable of this. Or start at the socket
programming FAQ, at:
http://www.ibrado.com/sock-faq/
--
=============================================================================
<erwin@andreasen.com> Herlev, Denmark UNIX System Programmer
<URL:http://www.abandoned.org/drylock/> <*> (not speaking for) DDE
=============================================================================
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST