Exemple #1
0
 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);
     }
 }
Exemple #2
0
 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);
     }
 }