About 105,000 results
Open links in new tab
  1. TcpClient Class (System.Net.Sockets) | Microsoft Learn

    The TcpClient class provides simple methods for connecting, sending, and receiving stream data over a network in synchronous blocking mode. In order for TcpClient to connect and exchange …

  2. Use TcpClient and TcpListener - .NET | Microsoft Learn

    Learn how to use the TcpClient class to create a socket to request and receive data using TCP in .NET.

  3. TcpClient.Connect Method (System.Net.Sockets) | Microsoft Learn

    'Uses a host name and port number to establish a socket connection. Dim tcpClient As New TcpClient () tcpClient.Connect ("www.contoso.com", 11002) Remarks Call this method to …

  4. TcpClient Constructor (System.Net.Sockets) | Microsoft Learn

    This constructor creates a new TcpClient and makes a synchronous connection attempt to the provided host name and port number. The underlying service provider will assign the most …

  5. TcpClient.ConnectAsync Method (System.Net.Sockets)

    Connects the client to a remote TCP host using the specified host name and port number as an asynchronous operation.

  6. TcpClient.Client Property (System.Net.Sockets) | Microsoft Learn

    Classes deriving from TcpClient can use this property to get or set this Socket. Use the underlying Socket returned from Client if you require access beyond that which TcpClient provides.

  7. TcpClient.GetStream Method (System.Net.Sockets)

    ' This method blocks until at least one byte is read. netStream.Read (bytes, 0, CInt (tcpClient.ReceiveBufferSize)) ' Returns the data received from the host to the console.

  8. TcpClient 类 (System.Net.Sockets) | Microsoft Learn

    类 TcpClient 提供了用于在同步阻止模式下通过网络连接、发送和接收流数据的简单方法。 为了 TcpClient 连接和交换数据, TcpListener 使用 TCP ProtocolType 创建的 或 Socket 必须侦听 …

  9. 使用 TcpClient 和 TcpListener - .NET | Microsoft Learn

    了解如何在 .NET 中使用 TcpClient 类创建套接字以使用 TCP 请求和接收数据。

  10. TcpClient.Close Method (System.Net.Sockets) | Microsoft Learn

    Examples The following code example demonstrates closing a TcpClient by calling the Close method.