p. 465: In the third change
ia = new InetAddress("metalab.unc.edu");
to
ia = InetAddress.getByName("metalab.unc.edu");
p. 470: In example 14-2, the for
loop should run from 1 to 10, not 1 to 9. That is, change
for (int i = 1; i < 10; i++) {
to
for (int i = 1; i <= 10; i++) {