long timeout = getEstablishConnectionTimeout();
do {
TransportChannel tc = getEstablishedChannel(timeout);
if (tc != null) {
try {
return tc.asyncSendWithReceipt(packet);
}
catch (TimeoutExpiredException e) {
throw e;
}
catch (UnsupportedWireFormatException uwf) {