GNet
Encyclopedia
GNet is a simple network library. It is written in C
C (programming language)
C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system....

, object-oriented, and built upon GLib
GLib
GLib is a cross-platform software utility library that began as part of the GTK+ project. However, before releasing version 2 of GTK+, the project's developers decided to separate non-GUI-specific code from the GTK+ platform, thus creating GLib as a separate product...

. It is intended to be small, fast, easy-to-use,
and easy to port. The interface is similar to the interface for Java
Java (programming language)
Java is a programming language originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities...

's network library.

GNet has been ported to Linux
Linux
Linux is a Unix-like computer operating system assembled under the model of free and open source software development and distribution. The defining component of any Linux system is the Linux kernel, an operating system kernel first released October 5, 1991 by Linus Torvalds...

, BSD, MacOS, Solaris, HP, and Windows
Microsoft Windows
Microsoft Windows is a series of operating systems produced by Microsoft.Microsoft introduced an operating environment named Windows on November 20, 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces . Microsoft Windows came to dominate the world's personal...

. It may work on other flavors of Unix too.

According to the GNet reference below,

GNet is very soon (with the release of GLib 2.22.0) going to be deprecated and replaced by the newly-added platform-independent network and socket abstraction layer in GLib/Gio

GNet Features

  • TCP
    Transmission Control Protocol
    The Transmission Control Protocol is one of the core protocols of the Internet Protocol Suite. TCP is one of the two original components of the suite, complementing the Internet Protocol , and therefore the entire suite is commonly referred to as TCP/IP...

     "client" and "server" sockets.
  • UDP
    User Datagram Protocol
    The User Datagram Protocol is one of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer applications can send messages, in this case referred to as datagrams, to other hosts on an Internet Protocol network without requiring...

     and IP Multicast sockets.
  • High-level TCP connection and server objects.
  • GConnHttp - HTTP connection object.
  • Asynchronous socket IO.
  • Internet address abstraction.
  • Asynchronous DNS
    Domain name system
    The Domain Name System is a hierarchical distributed naming system for computers, services, or any resource connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities...

     lookup.
  • IPv4
    IPv4
    Internet Protocol version 4 is the fourth revision in the development of the Internet Protocol and the first version of the protocol to be widely deployed. Together with IPv6, it is at the core of standards-based internetworking methods of the Internet...

     and IPv6
    IPv6
    Internet Protocol version 6 is a version of the Internet Protocol . It is designed to succeed the Internet Protocol version 4...

     support.
  • Byte packing and unpacking.
  • URI
    Úri
    Úriis a village and commune in the comitatus of Pest in Hungary....

     parsing.
  • SHA-1 and MD5
    MD5
    The MD5 Message-Digest Algorithm is a widely used cryptographic hash function that produces a 128-bit hash value. Specified in RFC 1321, MD5 has been employed in a wide variety of security applications, and is also commonly used to check data integrity...

     hashes.
  • Base64
    Base64
    Base64 is a group of similar encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation...

     encoding and decoding.
  • SOCKS
    SOCKS
    SOCKS is an Internet protocol that routes network packets between a client and server through a proxy server. SOCKS5 additionally provides authentication so only authorized users may access a server...

     support.

Applications that use GNet

  • eDonkey2000
    EDonkey2000
    eDonkey2000 was a peer-to-peer file sharing application developed by US company MetaMachine, using the Multisource File Transfer Protocol...

     - eDonkey2000 GTK GUI (DFS) frontend
  • Gnome Chinese Checkers - board game
  • Gnome Jabber - instant messaging and chat
  • gtermix - telnet client for BBSes
  • Jungle Monkey - distributed file sharing program
  • Mail Notify - mail notification applet
  • MSI
    MSI
    -Computing:* Windows Installer, an installer system written by Microsoft for Windows platforms * Medium Scale Integration, a generation of integrated circuit chips which contain hundreds of transistors...

     - multi-simulation interface
  • Pan
    Pan (newsreader)
    Pan is a news client for multiple operating systems, developed by Charles Kerr and others. It supports offline reading, multiple servers, multiple connections, fast article header filtering and mass saving of multi-part attachments encoded in uuencode, yEnc and base64; images in common formats can...

     - Gnome Newsreader
  • PreViking - telephony middleware
  • Sussen - network scanner
  • Workrave
    Workrave
    Workrave is a free software application intended to prevent computer users from developing or aggravating occupational diseases such as carpal tunnel syndrome, repetitive strain injuries, or myopia....

    - rest break reminder

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK