public static void testFdSockHeaders() throws Exception {
FD_SOCK.FdHeader hdr=new FD_SOCK.FdHeader(FD_SOCK.FdHeader.GET_CACHE);
_testSize(hdr);
hdr=new FD_SOCK.FdHeader(FD_SOCK.FdHeader.GET_CACHE, new IpAddress("127.0.0.1", 4567));
_testSize(hdr);
Set<Address> set=new HashSet<Address>();
set.add(new IpAddress(3452));
set.add(new IpAddress("127.0.0.1", 5000));
hdr=new FD_SOCK.FdHeader(FD_SOCK.FdHeader.GET_CACHE, set);
_testSize(hdr);
Hashtable<Address,IpAddress> map=new Hashtable<Address,IpAddress>();
map.put(new IpAddress("127.0.0.1", 5000), new IpAddress(4553));
map.put(new IpAddress("127.0.0.1", 6000), new IpAddress(4523));
map.put(new IpAddress(7000), new IpAddress(4553));
hdr=new FD_SOCK.FdHeader(FD_SOCK.FdHeader.GET_CACHE, map);
_testSize(hdr);
// check that IpAddress is correctly sized in FD_SOCK.FdHeader
hdr = new FD_SOCK.FdHeader(FD_SOCK.FdHeader.I_HAVE_SOCK, new IpAddress("127.0.0.1", 4567),
new IpAddress("127.0.0.1", 4567));
_testSize(hdr) ;
}