|
From: Uwe H. <uh...@bi...> - 2000-03-03 00:06:35
|
On Thu, Mar 02, 2000 at 01:38:08PM -0500, Brian St. Pierre wrote: > I tried both of these as well. The code seems to mimic telnet. It is > likely that using stdio streams (i.e. FILE*) is trying to buffer the input > in such a way that kills performance. I can take a look at using setvbuf to > turn buffering off. Or we could decide to use non-ANSI-C output (i.e. > system-specific open/close/read/write); but I'd rather remain higher level > and closer to standards. Ooops. I forgot this in my last mail. Conrad Parker(the original author of Express) told me that we might use libgnet for the networking code, which "implements an abstraction layer to use callbacks, and is based on glib." Let's first have a look at this one, maybe it offers an elegant solution for the problem. http://www.eecs.umich.edu/~dhelder/misc/gnet/ Uwe. -- Uwe Hermann <uh...@bi...> http://www.bingo-ev.de/~uh1763/index.html ----------------------------------------- :wq |