Re: prompt_hook

Chris Heilman <[email protected]>
Newsgroups gmane.comp.games.mud.client.lyntin
Message-ID <[email protected]>
On Tue, Apr 20, 2004 at 08:22:25AM -0500, will guaraldi wrote:
> The other things I dumped were the net_read_filter and the
> net_write_filter.  I borrowed code from Leantin which implements MCCP in
> like 20 lines directly in the network layer without those hooks (my hook
> implementation was klugy at best).

I've used the net_read_filter for some pre-processing stuff.  I needed
to get at it before anything else, and something (I don't remember
exactly, maybe it was prompt detection) always happened first so I
couldn't use priorities.  Is there another/better way that I should do
this?  Why remove the hook?  Is there a performance hit for having a
hook if nothing registers with it?

-Chris

-- 
Chris Heilman             http://wreck.org           [email protected]


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.