
Listing 3 alp Examples

Syntax Example

(peanut) % alp
usage: alp [-vli] destination  port description
(peanut) %

Brief Interactive Example

(peanut) % alp -i almond 80 web
Successful connection with almond, ip socket 80.
(peanut) %

Brief Logging Example

(peanut) % alp -l almond 80 web
1998-11-04 || 17:39:5 || web || UP
(peanut) %

Verbose Example

(peanut) % alp -v almond 80 web
protocol       = ip
protocolnumber = 0
service        = 80
thathostname   = almond
thishostname   = peanut

socket() call  ok
connect() call  ok
close ok
(peanut) %






