public int Receive(byte[] data, int offset, int length) { try { UDT udt = UDT.s_UDTUnited.lookup(mSocketId); return(udt.recv(data, offset, length)); } catch (UdtException udtException) { throw new Exception("Problem when receiving data", udtException); } }
public int Receive(byte[] data, int offset, int length) { try { UDT udt = UDT.s_UDTUnited.lookup(mSocketId); return(udt.recv(data, offset, length)); } catch (UdtException udtException) { throw new Exception(udtException.getErrorMessage(), udtException); } }