System.Net.Sockets.IPPacketInformation
namespace System.Net.Sockets
{
public class LingerOption
{
public bool Enabled { get; set; }
public int LingerTime { get; set; }
public LingerOption(bool enable, int seconds);
}
}
namespace System.Net.Sockets
{
public struct IPPacketInformation
{
public IPAddress Address { get; }
public int Interface { get; }
public static bool operator ==(IPPacketInformation packetInformation1, IPPacketInformation packetInformation2);
public static bool operator !=(IPPacketInformation packetInformation1, IPPacketInformation packetInformation2);
}
}