David Helder


for GNet 2.0.8

Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.

Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided also that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.

Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions.


This manual documents GNet, a network library. It gives an overview of GNet, discusses examples that come with GNet, and includes detailed documentation of the GNet API.

GNet Overview
GNet for developers
Compiling programs with GNet
Tips and tricks
Hiding blocking
GNet Examples
echoclient and echoserver
dnslookup, hash, hfetch, hostinfo, and SDR
GNet Library Reference
GNet — GNet utility functions and macros
InetAddr — Internet Address
TCP — TCP socket
UDP — UDP socket
Mcast — IP Multicast socket
GConnHttp — HTTP connection object
Conn — TCP connection object
Server — TCP server object
IOChannel — GIOChannel utility functions
URI — Uniform Resource Identifier (URI)
Base64 — Base64 encoding and decoding
Pack — Byte packing and unpacking functions
MD5 — MD5 hash
SHA — SHA hash
Unix — Unix socket
IPv6 — IPv6 policy functions