GNet is a simple network library. It is written in C, object-oriented, and built upon GLib. It is intended to be easy to use and port. GNet comes with documentation and examples. It is licensed under the GNU Library General Public License.
GNet requires GLib 1.2 or 2.0. You can get this at www.gtk.org. Or, if you have a system with packages (eg, Red Hat or Debian), look for the latest GLib package.
GNet has been ported to Linux, *BSD, MacOSX, Solaris, HP, and Windows. It may work on other flavors of Unix too.
- TCP “client” and “server” sockets
- UDP and IP Multicast sockets
- High-level TCP connection and server objects
- Asynchronous socket IO
- Internet address abstraction
- Asynchronous DNS lookup
- IPv4 and IPv6 support
- Byte packing and unpacking
- URI parsing
- SHA and MD5 hashes
- Base64 encoding and decoding
- SOCKS support
The official IRC channel of the GNet projects is #gnet on irc.gnome.org.
GNet 1.1 vs 2.0. GNet 2.0 is the current stable branch of GNet. All new development will be on GNet 2.0. GNet 1.1 is the old stable branch. For new development, GNet 2.0 should be preferred over GNet 1.1. Current GNet 1.1 users should plan to migrate to GNet 2.0 eventually. GNet 2.0 is not backwards compatible with 1.1, but migration should be relatively easy.
Offical website : http://www.gnetlibrary.org