http://library.gnome.org/devel/gio/stable/streaming.html ? 2008/8/18 Diego Jacobi <jacobidiego@xxxxxxxxx>: > Hi. > > Is it possible to handle the serial/parallel/tty/etc device files with GIO? > > > I am writing a code for a Project in my Uni which only needs to chat > with another computer through the Serial Port. > > In my Uni linux is not very popular, instead they ask for programs for > DOS. Thats why i want to make something useful and make it under > linux. > > The program have to wait for keypresses or serial port input. When a > keypress ocurs it haves to send the data through the configurable > serial interface, and when data is incomming, it haves to just print > it out. This should look like a chat and should be testable with a > null modem. > > After tons of hours reading lots of howtos, i have a code working in C > with the kernel rutines and polling with "select" on /dev/tty and > /dev/ttyS0. > It gets in a very intricated code for a very simple task, so i wonder > if GIO can handle such tasks. > > Cheers. > Diego > _______________________________________________ > gtk-list mailing list > gtk-list@xxxxxxxxx > http://mail.gnome.org/mailman/listinfo/gtk-list > _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list