using System; using System.Threading.Tasks; using Cpp2IlInjected; namespace System.Net.Sockets { /// This class contains extension methods to the class. // Token: 0x020002ED RID: 749 [Token(Token = "0x20002ED")] 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: 0x06001416 RID: 5142 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001416")] [Address(RVA = "0xAE15D0", Offset = "0xAE05D0", VA = "0x180AE15D0")] public static Task ConnectAsync(this Socket socket, IPAddress address, int port) { return null; } } }