using System; using System.IO; namespace Org.BouncyCastle.Tls { public interface DatagramReceiver { /// int GetReceiveLimit(); /// int Receive(byte[] buf, int off, int len, int waitMillis); #if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER /// int Receive(Span buffer, int waitMillis); #endif } }