Property | Type | Description | |
---|---|---|---|
IDescriptorContainer | void |
Method | Description | |
---|---|---|
AttachSocket ( Socket sessionSocket ) : void |
Attaches a socket to this NetworkSession.
|
|
Close ( string reason ) : void | ||
Dispose ( ) : void | ||
NetworkSession ( ) : System |
Initializes a new instance of the NetworkSession class.
|
|
Start ( ) : void |
Starts the receive process.
|
|
ToString ( ) : string | ||
Write ( byte data ) : void |
Writes a byte array to the network stream.
|
Method | Description | |
---|---|---|
IDescriptorContainer ( string reason ) : void |
public AttachSocket ( Socket sessionSocket ) : void | ||
sessionSocket | Socket | The underlying socket to use for this session. |
return | void |