An NDoc Documented Class Library

BaseSocket.GetStream Method (Boolean)

Get the stream associated with the socket.

public abstract 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

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