using System; using Cpp2IlInjected; namespace System.Net.Sockets { /// Provides client connections for TCP network services. // Token: 0x020002EA RID: 746 [Token(Token = "0x20002EA")] public class TcpClient : IDisposable { /// Initializes a new instance of the class with the specified family. /// The of the IP protocol. /// The parameter is not equal to AddressFamily.InterNetwork /// -or- /// The parameter is not equal to AddressFamily.InterNetworkV6 // Token: 0x060013F9 RID: 5113 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60013F9")] [Address(RVA = "0x262FB30", Offset = "0x262E930", VA = "0x18262FB30")] public TcpClient(AddressFamily family) { } /// Initializes a new instance of the class and connects to the specified port on the specified host. /// The DNS name of the remote host to which you intend to connect. /// The port number of the remote host to which you intend to connect. /// The parameter is . /// The parameter is not between and . /// An error occurred when accessing the socket. // Token: 0x060013FA RID: 5114 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60013FA")] [Address(RVA = "0x262FCC0", Offset = "0x262EAC0", VA = "0x18262FCC0")] public TcpClient(string hostname, int port) { } // Token: 0x060013FB RID: 5115 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60013FB")] [Address(RVA = "0x262FC70", Offset = "0x262EA70", VA = "0x18262FC70")] internal TcpClient(Socket acceptedSocket) { } /// Gets or sets the underlying . /// The underlying network . // Token: 0x1700040D RID: 1037 // (get) Token: 0x060013FC RID: 5116 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x060013FD RID: 5117 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x1700040D")] public Socket Client { [Token(Token = "0x60013FC")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")] get { return null; } [Token(Token = "0x60013FD")] [Address(RVA = "0x3F7200", Offset = "0x3F6000", VA = "0x1803F7200")] set { } } /// Gets a value indicating whether the underlying for a is connected to a remote host. /// /// if the socket was connected to a remote resource as of the most recent operation; otherwise, . // Token: 0x1700040E RID: 1038 // (get) Token: 0x060013FE RID: 5118 RVA: 0x000091E0 File Offset: 0x000073E0 [Token(Token = "0x1700040E")] public bool Connected { [Token(Token = "0x60013FE")] [Address(RVA = "0x262FE70", Offset = "0x262EC70", VA = "0x18262FE70")] get { return default(bool); } } /// Connects the client to the specified port on the specified host. /// The DNS name of the remote host to which you intend to connect. /// The port number of the remote host to which you intend to connect. /// The parameter is . /// The parameter is not between and . /// An error occurred when accessing the socket. /// /// is closed. // Token: 0x060013FF RID: 5119 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60013FF")] [Address(RVA = "0x262F2A0", Offset = "0x262E0A0", VA = "0x18262F2A0")] public void Connect(string hostname, int port) { } /// Connects the client to a remote TCP host using the specified remote network endpoint. /// The to which you intend to connect. /// The parameter is . /// An error occurred when accessing the socket. /// The is closed. // Token: 0x06001400 RID: 5120 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001400")] [Address(RVA = "0x262F1B0", Offset = "0x262DFB0", VA = "0x18262F1B0")] public void Connect(IPEndPoint remoteEP) { } /// Begins an asynchronous request for a remote host connection. The remote host is specified by a host name () and a port number (). /// The name of the remote host. /// The port number of the remote host. /// An delegate that references the method to invoke when the operation is complete. /// A user-defined object that contains information about the connect operation. This object is passed to the delegate when the operation is complete. /// An object that references the asynchronous connection. /// The parameter is . /// An error occurred when attempting to access the socket. /// The has been closed. /// A caller higher in the call stack does not have permission for the requested operation. /// The port number is not valid. // Token: 0x06001401 RID: 5121 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001401")] [Address(RVA = "0x262EFD0", Offset = "0x262DDD0", VA = "0x18262EFD0")] public IAsyncResult BeginConnect(string host, int port, AsyncCallback requestCallback, object state) { return null; } /// Ends a pending asynchronous connection attempt. /// An object returned by a call to . /// The parameter is . /// The parameter was not returned by a call to a method. /// The method was previously called for the asynchronous connection. /// An error occurred when attempting to access the . /// The underlying has been closed. // Token: 0x06001402 RID: 5122 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001402")] [Address(RVA = "0x262F920", Offset = "0x262E720", VA = "0x18262F920")] public void EndConnect(IAsyncResult asyncResult) { } /// Returns the used to send and receive data. /// The underlying . /// The is not connected to a remote host. /// The has been closed. // Token: 0x06001403 RID: 5123 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001403")] [Address(RVA = "0x262FA00", Offset = "0x262E800", VA = "0x18262FA00")] public NetworkStream GetStream() { return null; } /// Disposes this instance and requests that the underlying TCP connection be closed. // Token: 0x06001404 RID: 5124 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001404")] [Address(RVA = "0x262F170", Offset = "0x262DF70", VA = "0x18262F170")] public void Close() { } /// Releases the unmanaged resources used by the and optionally releases the managed resources. /// Set to to release both managed and unmanaged resources; to release only unmanaged resources. // Token: 0x06001405 RID: 5125 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001405")] [Address(RVA = "0x262F810", Offset = "0x262E610", VA = "0x18262F810", Slot = "5")] protected virtual void Dispose(bool disposing) { } /// Releases the managed and unmanaged resources used by the . // Token: 0x06001406 RID: 5126 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001406")] [Address(RVA = "0xF3D5B0", Offset = "0xF3C3B0", VA = "0x180F3D5B0", Slot = "4")] public void Dispose() { } /// Frees resources used by the class. // Token: 0x06001407 RID: 5127 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001407")] [Address(RVA = "0x262F980", Offset = "0x262E780", VA = "0x18262F980", Slot = "1")] protected override void Finalize() { } // Token: 0x06001408 RID: 5128 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001408")] [Address(RVA = "0x262FE90", Offset = "0x262EC90", VA = "0x18262FE90")] private void initialize() { } // Token: 0x04000C93 RID: 3219 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000C93")] private Socket m_ClientSocket; // Token: 0x04000C94 RID: 3220 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4000C94")] private bool m_Active; // Token: 0x04000C95 RID: 3221 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4000C95")] private NetworkStream m_DataStream; // Token: 0x04000C96 RID: 3222 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000C96")] private AddressFamily m_Family; // Token: 0x04000C97 RID: 3223 [FieldOffset(Offset = "0x2C")] [Token(Token = "0x4000C97")] private bool m_CleanedUp; } }