An NDoc Documented Class Library

StandardSocket.GetStream Method (Boolean)

Get the stream associated with the socket.

public override Stream GetStream(
   bool ownsSocket
);

Parameters

ownsSocket
true if the stream owns the socket, false otherwise

Remarks

If ownsSocket is ture, the stream returned owns the socket, so closing the stream will close the socket.

See Also

StandardSocket Class | EnterpriseDT.Net Namespace | StandardSocket.GetStream Overload List