Re: What would a good GIOChannel test app need to do?



> If someone were to write a through GIOChannel test app, what would it 
> need to do?

AFAIK GIOChannels are mostly used to multiplex an extra 
socket or pipe into one's event loop (eg for a graphical FTP client).

How about a client/server pair of test programs that send 
messages to each other via a pipe and socket, testing the
obvious stuff like reading/writing data on non-blocking
sockets, handling lost connections, etc

Just curious- how are you integrating the glib event loop 
with BeOS's GUI? Is their equivalent of select() or 
GetMessage() flexible enough to multiplex an arbitrary 
file descriptor? (the Win32 port still has issues to this day with GetMessage's
inflexibility...)

Dan





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]