summary refs log tree commit diff
path: root/crypto/src/tls/DatagramReceiver.cs
blob: 5ab605ac41f77f7c8adf542a3517668ac9abf77f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using System.IO;

namespace Org.BouncyCastle.Tls
{
    public interface DatagramReceiver
    {
        /// <exception cref="IOException"/>
        int GetReceiveLimit();

        /// <exception cref="IOException"/>
        int Receive(byte[] buf, int off, int len, int waitMillis);
    }
}