About 91,400 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 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 …

  4. 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 …

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

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

  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.BeginConnect Method (System.Net.Sockets)

    Begins an asynchronous request for a remote host connection.

  9. Use Sockets to send and receive data over TCP - .NET

    Oct 22, 2025 · Before you can use a socket to communicate with remote devices, the socket must be initialized with protocol and network address information. The constructor for the Socket …

  10. TcpClient.NoDelay Property (System.Net.Sockets)

    When NoDelay is false, a TcpClient does not send a packet over the network until it has collected a significant amount of outgoing data. Because of the amount of overhead in a TCP segment, …