This section walks you through an sample program that connects to a server, sends a query, processes the results, then exits. Most Client-Library applications exhibit a program structure similar to this.