<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>dnslookup, hash, hfetch, hostinfo, and SDR</title> <meta name="generator" content="DocBook XSL Stylesheets V1.72.0"> <link rel="start" href="index.html" title="GNet Network Library Reference Manual"> <link rel="up" href="gnet-examples.html" title="GNet Examples"> <link rel="prev" href="gnet-examples.html" title="GNet Examples"> <link rel="next" href="libgnet-reference.html" title="GNet Library Reference"> <meta name="generator" content="GTK-Doc V1.8 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> <link rel="chapter" href="gnet-overview.html" title="GNet Overview"> <link rel="chapter" href="gnet-developers.html" title="GNet for developers"> <link rel="chapter" href="gnet-examples.html" title="GNet Examples"> <link rel="chapter" href="libgnet-reference.html" title="GNet Library Reference"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> <td><a accesskey="p" href="gnet-examples.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> <td><a accesskey="u" href="gnet-examples.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> <th width="100%" align="center">GNet Network Library Reference Manual</th> <td><a accesskey="n" href="libgnet-reference.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> </tr></table> <div class="sect1" lang="en"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="gnet-examples-other"></a>dnslookup, hash, hfetch, hostinfo, and SDR</h2></div></div></div> <p> dnslookup. dnslookup performs a DNS lookup of a hostname or a reverse DNS lookup of an address. It demonstrates how to use both the blocking and asynchronous methods of DNS lookups. </p> <p> hash. hash computes the MD5 and SHA hashes of a file. </p> <p> hfetch. hfetch is a simple HTTP file fetcher. </p> <p> hostinfo. hostinfo prints information about the host including it's domain name and interfaces. </p> <p> SDR. SDR prints multimedia session announcements. It demonstrates how to use multicast sockets in GNet. SDR will only work if your network supports IP Multicast. In fact, SDR is a good test for this. If the network supports multicast, SDR will print announcements after a few seconds, otherwise, it will print nothing. </p> </div> </body> </html>