Client1 is a finger client

o finger
Finger a host and printf result; debug info & errors go to stderr
o main
Main for finger client
Client1 is a finger client.

You may #define DEBUG to see debug output.

Sample in/output (with debug info)

allegro 55>./Client1 alpha.cs.bgsu.edu rblasch
D:Resolved finger service at port 79
Host not found: alpha.cs.bgsu.edu
allegro 56>./Client1 alpha.bgsu.edu rblasch
D:Resolved finger service at port 79
D:alpha.bgsu.edu resolved as hostname to 129.1.2.12
Login name: rblasch                     In real life: Ronald Blaschke
Directory: /home/45/rblasch             Shell: /bin/csh
Last login Sat Sep 18 17:18 on ttyp3 from allegro.cs.bgsu.
No Plan.
allegro 57>./Client1 allegro.cs
D:Resolved finger service at port 79
D:allegro.cs resolved as hostname to 129.1.64.6
Login       Name               TTY         Idle    When    Where
root     Super-User            console       3d Tue 23:43  :0
rblasch  Ronald Blaschke       pts/9            Sat 16:03  dhcp154.cs.bgsu.edu
jbarnes  Julie Barnes          pts/10        2d Thu 15:51  amnesia2.cs.bgsu.edu
jamie    James Blustein        pts/7         1d Fri 17:04  chip.cs.bgsu.edu
rblasch  Ronald Blaschke       pts/11           Sat 16:12  dhcp154.cs.bgsu.edu

Author:
Ronald Blaschke <rblasch@cs.bgsu.edu>
Version:
1.0

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.