gnio

hello everyone

many of you know that i’ve been working on gnio for a little while. it is available from git://git.desrt.ca/gnio

gnio is a networking library built on the foundations of gio. it allows you to use network connections as input and output streams.

you need the gresolver branch of glib in order to use it. that’s at git://git.desrt.ca/glib

i think it’s pretty nice, but i’d like some feedback. if you could take it for a spin and send flames my way, it would be greatly appreciated. i’m specifically looking for API suggestions.

any bugs or feature requests should be filed in the ‘network’ component of glib on bgo. contributions of code, docs, tests are most welcome and i encourage you to attach git-format-patch output to the relevant bugs.

thanks :)

8 thoughts on “gnio”

  1. I’m curious, and I’m sure a lot of other people are too…

    What is gnio?

  2. Please please please start typing capitals at the beginning of sentences!

  3. Sorry for my ignorance, but I was looking for something similar time ago, and I found gnet. Can’t both used for network using gio ?

  4. Iñigo Martínez: gnet can be used, but it’s got a very outdated and in many places awkward GLib-1.x-style API, ie. no GObjects, based on GIOChannels, bad error reporting in many places etc.

    Getting all this functionality into GLib with a modern API is long overdue. Ryan and other gnio coders: rock on!

  5. @Lucas: that library doesn’t have input and output stream classes. Instead it has methods like receive() and send(). Preferably you decouple those method from the “socket” into the “stream” (like how most I/O frameworks including .NET’s, Java’s and GIO works).

    So I don’t really agree that it’s a similar solution.

  6. I figured out how to download the repository. Hopefully others aren’t as clueless as I am. ;-)

    git clone git://git.desrt.ca/gnio gnio

Comments are closed.