using System; using Cpp2IlInjected; namespace System.Net.Sockets { /// Provides client connections for TCP network services. // Token: 0x020002E6 RID: 742 [Token(Token = "0x20002E6")] 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: 0x060013E3 RID: 5091 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60013E3")] [Address(RVA = "0xAEAEA0", Offset = "0xAE9EA0", VA = "0x180AEAEA0")] 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: 0x060013E4 RID: 5092 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60013E4")] [Address(RVA = "0xAEB030", Offset = "0xAEA030", VA = "0x180AEB030")] public TcpClient(string hostname, int port) { } // Token: 0x060013E5 RID: 5093 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60013E5")] [Address(RVA = "0xAEAFE0", Offset = "0xAE9FE0", VA = "0x180AEAFE0")] internal TcpClient(Socket acceptedSocket) { } /// Gets or sets the underlying . /// The underlying network . // Token: 0x17000409 RID: 1033 // (get) Token: 0x060013E6 RID: 5094 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x060013E7 RID: 5095 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x17000409")] public Socket Client { [Token(Token = "0x60013E6")] [Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")] get { return null; } [Token(Token = "0x60013E7")] [Address(RVA = "0x415800", Offset = "0x414800", VA = "0x180415800")] 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: 0x1700040A RID: 1034 // (get) Token: 0x060013E8 RID: 5096 RVA: 0x000091C8 File Offset: 0x000073C8 [Token(Token = "0x1700040A")] public bool Connected { [Token(Token = "0x60013E8")] [Address(RVA = "0xAEB1E0", Offset = "0xAEA1E0", VA = "0x180AEB1E0")] 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: 0x060013E9 RID: 5097 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60013E9")] [Address(RVA = "0xAEA610", Offset = "0xAE9610", VA = "0x180AEA610")] 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: 0x060013EA RID: 5098 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60013EA")] [Address(RVA = "0xAEA520", Offset = "0xAE9520", VA = "0x180AEA520")] 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: 0x060013EB RID: 5099 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60013EB")] [Address(RVA = "0xAEA340", Offset = "0xAE9340", VA = "0x180AEA340")] 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: 0x060013EC RID: 5100 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60013EC")] [Address(RVA = "0xAEAC90", Offset = "0xAE9C90", VA = "0x180AEAC90")] 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: 0x060013ED RID: 5101 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60013ED")] [Address(RVA = "0xAEAD70", Offset = "0xAE9D70", VA = "0x180AEAD70")] public NetworkStream GetStream() { return null; } /// Disposes this instance and requests that the underlying TCP connection be closed. // Token: 0x060013EE RID: 5102 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60013EE")] [Address(RVA = "0xAEA4E0", Offset = "0xAE94E0", VA = "0x180AEA4E0")] 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: 0x060013EF RID: 5103 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60013EF")] [Address(RVA = "0xAEAB80", Offset = "0xAE9B80", VA = "0x180AEAB80", Slot = "5")] protected virtual void Dispose(bool disposing) { } /// Releases the managed and unmanaged resources used by the . // Token: 0x060013F0 RID: 5104 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60013F0")] [Address(RVA = "0x8A0300", Offset = "0x89F300", VA = "0x1808A0300", Slot = "4")] public void Dispose() { } /// Frees resources used by the class. // Token: 0x060013F1 RID: 5105 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60013F1")] [Address(RVA = "0xAEACF0", Offset = "0xAE9CF0", VA = "0x180AEACF0", Slot = "1")] protected override void Finalize() { } // Token: 0x060013F2 RID: 5106 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x60013F2")] [Address(RVA = "0xAEB200", Offset = "0xAEA200", VA = "0x180AEB200")] private void initialize() { } // Token: 0x04000C86 RID: 3206 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000C86")] private Socket m_ClientSocket; // Token: 0x04000C87 RID: 3207 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4000C87")] private bool m_Active; // Token: 0x04000C88 RID: 3208 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4000C88")] private NetworkStream m_DataStream; // Token: 0x04000C89 RID: 3209 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000C89")] private AddressFamily m_Family; // Token: 0x04000C8A RID: 3210 [FieldOffset(Offset = "0x2C")] [Token(Token = "0x4000C8A")] private bool m_CleanedUp; } }