64 public void Connect(
string hostname,
int port)
78 if (clientSocket ==
null)
247 if (clientSocket !=
null)
class f__AnonymousType0<< Count > j__TPar
static void SuppressFinalize(object obj)
static IPAddress[] GetHostAddresses(string hostNameOrAddress)
static bool OSSupportsIPv6
void SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, int optionValue, bool silent)
static bool OSSupportsIPv4
void EndConnect(IAsyncResult asyncResult)
IAsyncResult BeginConnect(string host, int port, AsyncCallback requestCallback, object state)
virtual void Dispose(bool disposing)
NetworkStream GetStream()
void Connect(IPEndPoint remoteEP)
NetworkStream m_DataStream
void EndConnect(IAsyncResult asyncResult)
TcpClient(Socket acceptedSocket)
Task ConnectAsync(string host, int port)
void Connect(IPAddress address, int port)
void Connect(string hostname, int port)
TcpClient(AddressFamily family)
static bool ValidateTcpPort(int port)