Corrections to Chapter 14 of Java Network Programming, Multicast Sockets

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++) {


[ Java Network Programming Corrections | Java Network Programming Home Page | Table of Contents | Examples | Order from Amazon ] ]

Copyright 2003, 2006 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified June 6, 2006