using System;
using System.Threading.Tasks;
using Cpp2IlInjected;
namespace System.Net.Sockets
{
/// This class contains extension methods to the class.
// Token: 0x020002F1 RID: 753
[Token(Token = "0x20002F1")]
public static class SocketTaskExtensions
{
/// Establishes a connection to a remote host. The host is specified by an IP address and a port number.
/// The socket to perform the connect operation on.
/// The IP address of the remote host.
/// The port number of the remote host.
// Token: 0x0600142C RID: 5164 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600142C")]
[Address(RVA = "0x26262F0", Offset = "0x26250F0", VA = "0x1826262F0")]
public static Task ConnectAsync(this Socket socket, IPAddress address, int port)
{
return null;
}
}
}