s = new Socket(getHost(),getPort());
is = s.getInputStream();
os = s.getOutputStream();
PingAckMessage pam = new PingAckMessage().setCookie((short)0x5544);
try {
pam.receive(is,getTimeout());
} catch (ProtocolException e) {
e.printStackTrace();
throw new TestException(e.getMessage(),e);
}
}