コード例 #1
0
 /// <summary>
 /// Read synchronously
 /// </summary>
 /// <param name="handle">SNI handle</param>
 /// <param name="packet">SNI packet</param>
 /// <param name="timeout">Timeout</param>
 /// <returns>SNI error status</returns>
 internal uint ReadSyncOverAsync(SNIHandle handle, out SNIPacket packet, int timeout)
 {
     return(handle.Receive(out packet, timeout));
 }