Esempio n. 1
0
 internal byte[] ReceivePacket()
 {
     try
     {
         return(connection.ReceivePacket());
     }
     catch (SocketException se)
     {
         Close();
         throw new DbProxyException(se.Message, se);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// 接收数据包
 /// </summary>
 /// <returns>返回的数据包</returns>
 public byte[] ReceivePacket()
 {
     return(connection.ReceivePacket());
 }