using System;
using System.Net.Sockets;
using Cpp2IlInjected;
namespace System.Net
{
/// Represents a network endpoint as an IP address and a port number.
// Token: 0x0200022D RID: 557
[Token(Token = "0x200022D")]
[Serializable]
public class IPEndPoint : EndPoint
{
/// Gets the Internet Protocol (IP) address family.
/// Returns .
// Token: 0x17000295 RID: 661
// (get) Token: 0x06000E02 RID: 3586 RVA: 0x000070F8 File Offset: 0x000052F8
[Token(Token = "0x17000295")]
public override AddressFamily AddressFamily
{
[Token(Token = "0x6000E02")]
[Address(RVA = "0x2544760", Offset = "0x2543560", VA = "0x182544760", Slot = "4")]
get
{
return AddressFamily.Unspecified;
}
}
/// Initializes a new instance of the class with the specified address and port number.
/// An .
/// The port number associated with the , or 0 to specify any available port. is in host order.
///
/// is .
///
/// is less than .
/// -or-
/// is greater than .
/// -or-
/// is less than 0 or greater than 0x00000000FFFFFFFF.
// Token: 0x06000E03 RID: 3587 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E03")]
[Address(RVA = "0x27175A0", Offset = "0x27163A0", VA = "0x1827175A0")]
public IPEndPoint(IPAddress address, int port)
{
}
/// Gets or sets the IP address of the endpoint.
/// An instance containing the IP address of the endpoint.
// Token: 0x17000296 RID: 662
// (get) Token: 0x06000E04 RID: 3588 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000296")]
public IPAddress Address
{
[Token(Token = "0x6000E04")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
}
/// Gets or sets the port number of the endpoint.
/// An integer value in the range to indicating the port number of the endpoint.
/// The value that was specified for a set operation is less than or greater than .
// Token: 0x17000297 RID: 663
// (get) Token: 0x06000E05 RID: 3589 RVA: 0x00007110 File Offset: 0x00005310
[Token(Token = "0x17000297")]
public int Port
{
[Token(Token = "0x6000E05")]
[Address(RVA = "0x40B720", Offset = "0x40A520", VA = "0x18040B720")]
get
{
return 0;
}
}
/// Returns the IP address and port number of the specified endpoint.
/// A string containing the IP address and the port number of the specified endpoint (for example, 192.168.1.2:80).
// Token: 0x06000E06 RID: 3590 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E06")]
[Address(RVA = "0x2717410", Offset = "0x2716210", VA = "0x182717410", Slot = "3")]
public override string ToString()
{
return null;
}
/// Serializes endpoint information into a instance.
/// A instance containing the socket address for the endpoint.
// Token: 0x06000E07 RID: 3591 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E07")]
[Address(RVA = "0x27173A0", Offset = "0x27161A0", VA = "0x1827173A0", Slot = "5")]
public override SocketAddress Serialize()
{
return null;
}
/// Creates an endpoint from a socket address.
/// The to use for the endpoint.
/// An instance using the specified socket address.
/// The AddressFamily of is not equal to the AddressFamily of the current instance.
/// -or-
/// .Size < 8.
// Token: 0x06000E08 RID: 3592 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E08")]
[Address(RVA = "0x2716EB0", Offset = "0x2715CB0", VA = "0x182716EB0", Slot = "6")]
public override EndPoint Create(SocketAddress socketAddress)
{
return null;
}
/// Determines whether the specified is equal to the current .
/// The to compare with the current .
///
/// if the specified is equal to the current ; otherwise, .
// Token: 0x06000E09 RID: 3593 RVA: 0x00007128 File Offset: 0x00005328
[Token(Token = "0x6000E09")]
[Address(RVA = "0x27171C0", Offset = "0x2715FC0", VA = "0x1827171C0", Slot = "0")]
public override bool Equals(object comparand)
{
return default(bool);
}
/// Returns a hash value for a instance.
/// An integer hash value.
// Token: 0x06000E0A RID: 3594 RVA: 0x00007140 File Offset: 0x00005340
[Token(Token = "0x6000E0A")]
[Address(RVA = "0x1EDF1E0", Offset = "0x1EDDFE0", VA = "0x181EDF1E0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// Specifies the minimum value that can be assigned to the property. This field is read-only.
// Token: 0x04000825 RID: 2085
[Token(Token = "0x4000825")]
public const int MinPort = 0;
/// Specifies the maximum value that can be assigned to the property. The MaxPort value is set to 0x0000FFFF. This field is read-only.
// Token: 0x04000826 RID: 2086
[Token(Token = "0x4000826")]
public const int MaxPort = 65535;
// Token: 0x04000827 RID: 2087
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000827")]
private IPAddress m_Address;
// Token: 0x04000828 RID: 2088
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000828")]
private int m_Port;
// Token: 0x04000829 RID: 2089
[Token(Token = "0x4000829")]
internal const int AnyPort = 0;
// Token: 0x0400082A RID: 2090
[Token(Token = "0x400082A")]
internal static IPEndPoint Any;
// Token: 0x0400082B RID: 2091
[Token(Token = "0x400082B")]
internal static IPEndPoint IPv6Any;
}
}