TcpClient.Close Method ()
Disposes this TcpClient instance and requests that the underlying TCP connection be closed.
Assembly: System (in System.dll)
The Socket close the TCP connection. Based on the LingerState property, the TCP connection may stay open for some time after the method is called when data remains to be sent. There is no notification provided when the underlying connection has completed closing.method marks the instance as disposed and requests that the associated
This member outputs trace information when you enable network tracing in your application. For more information, see Network Tracing in the .NET Framework.
Available since 1.1