NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TCPClient.Close

Closes the TCP connection

[Visual Basic]
Public Function Close() As Integer
[C#]
public int Close();
[C++]
public: int Close();
[JScript]
public function Close() : int;

Return Value

0 if the connection was successfully closed; otherwise a non-zero error code.

See Also

TCPClient Class | TCPClient Members | System.Net.Sockets Namespace | Close