Re: prompt_hook
Chris Heilman <[email protected]>
| Newsgroups | gmane.comp.games.mud.client.lyntin |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Apr 20, 2004 at 09:40:05AM -0500, will guaraldi wrote: > On Tue, 20 Apr 2004, Chris Heilman wrote: > > > > 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? > > See if you can figure out what the issue was and let me know and we can > see if it's possible to work around it, or if I should re-implement the > net_filter_hook. (I don't think it'd be that hard to re-implement.) > > I was thinking of removing the net filters because they were originally > for implementing things like MCCP and SSL on the network layer in a module > and I don't think we're going down that track anymore. I'm not remembering what the issue is, but it still seems strange to remove existing functionality from the client. I refuse to believe that calling an empty hook is hurting performance. How would you implement something like the Portal MIP, or MXP? -Chris -- Chris Heilman http://wreck.org [email protected] We would never learn to be brave and patient if there were only joy in the world. -Helen Keller ------------------------------------------------------- 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