Gnet Network Library Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# Other tips and tricks

GNet was designed so that most of the implementation is hidden from the programmer. You should not have to include any network header files other than `gnet/gnet.h`.

GLib includes the functions `g_ntohs`, `g_htons`, `g_ntohl`, and `g_htonl`. Use these instead of the versions in `netinet/in.h`.

<<< Previous Page | Home | Up | Next Page >>>
GNet for developers | Gnet Examples