Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

25 lines
964 B
C#

using System;
using System.Threading.Tasks;
using Cpp2IlInjected;
namespace System.Net.Sockets
{
/// <summary>This class contains extension methods to the <see cref="T:System.Net.Sockets.Socket" /> class.</summary>
// Token: 0x020002F1 RID: 753
[Token(Token = "0x20002F1")]
public static class SocketTaskExtensions
{
/// <summary>Establishes a connection to a remote host. The host is specified by an IP address and a port number.</summary>
/// <param name="socket">The socket to perform the connect operation on.</param>
/// <param name="address">The IP address of the remote host.</param>
/// <param name="port">The port number of the remote host.</param>
// 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;
}
}
}