GNet

GNet is a simple network library. It is written in C, object-oriented, and built upon GLib. It is intended to be small, fast, easy-to-use, and easy to port. The interface is similar to the interface for Java's network library.

GNet has been ported to Linux, BSD, macOS, Solaris, HP-UX, and Windows. 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 "client" and "server" sockets.
  • UDP and IP Multicast sockets.
  • High-level TCP connection and server objects.
  • GConnHttp - HTTP connection object.
  • Asynchronous socket IO.
  • Internet address abstraction.
  • Asynchronous DNS lookup.
  • IPv4 and IPv6 support.
  • Byte packing and unpacking.
  • URI parsing.
  • SHA-1 and MD5 hashes.
  • Base64 encoding and decoding.
  • SOCKS support.[1]

Applications that use GNet

References

  1. ^ "Projects/GNetLibrary – GNOME Wiki Archive". wiki.gnome.org. Retrieved 2024-12-17.

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.