@BeforeClass
public void setUp() throws Exception {
StackType type=Util.getIpStackType();
if(type == StackType.IPv6) {
a=new IpAddress("::1", 5555);
b=new IpAddress("::1", 5555);
d=new IpAddress("::1", 5556);
e=new IpAddress("::1", 5555);
f=new IpAddress("2001:0db8:0000:0000:0000:002e:0370:2334", 80);
g=new IpAddress("2001:0db8:0000:0000:0000:002e:0370:2334", 8080);
h=new IpAddress("ff0e::3:4:5", 5555);
}
else {
a=new IpAddress("localhost", 5555);
b=new IpAddress("localhost", 5555);
d=new IpAddress("localhost", 5556);
e=new IpAddress("127.0.0.1", 5555);
f=new IpAddress("www.ibm.com", 80);
g=new IpAddress("www.ibm.com", 8080);
h=new IpAddress("224.0.0.1", 5555);
}
c=b;
}