메소드 | 설명 | |
---|---|---|
Close ( ) : void |
Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
|
|
ReusableSocketNetworkStream ( |
Creates a new instance of the T:System.Net.Sockets.NetworkStream class for the specified T:System.Net.Sockets.Socket.
|
|
ReusableSocketNetworkStream ( |
Creates a new instance of the T:System.Net.Sockets.NetworkStream class for the specified T:System.Net.Sockets.Socket with the specified access rights.
|
|
ReusableSocketNetworkStream ( |
Creates a new instance of the T:System.Net.Sockets.NetworkStream class for the specified T:System.Net.Sockets.Socket with the specified access rights and the specified T:System.Net.Sockets.Socket ownership.
|
|
ReusableSocketNetworkStream ( |
Initializes a new instance of the T:System.Net.Sockets.NetworkStream class for the specified T:System.Net.Sockets.Socket with the specified T:System.Net.Sockets.Socket ownership.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the T:System.Net.Sockets.NetworkStream and optionally releases the managed resources.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
리턴 | void |
public ReusableSocketNetworkStream ( |
||
socket |
/// The |
|
리턴 | System |
public ReusableSocketNetworkStream ( |
||
socket |
/// The |
|
access | FileAccess |
/// A bitwise combination of the |
리턴 | System |
public ReusableSocketNetworkStream ( |
||
socket |
/// The |
|
access | FileAccess |
/// A bitwise combination of the |
ownsSocket | bool |
/// Set to |
리턴 | System |
public ReusableSocketNetworkStream ( |
||
socket |
/// The |
|
ownsSocket | bool |
/// Set to |
리턴 | System |