Kernel: Use a Session object to keep track of the status of a Client/Server session pair.

Reduce the associated port's connection count when a ServerSession is destroyed.
This commit is contained in:
Subv 2017-01-04 23:23:17 -05:00
parent 6a72bd62b5
commit ddfabf3133
8 changed files with 86 additions and 32 deletions

View file

@ -16,6 +16,7 @@
/// Detailed description of the error. This listing is likely incomplete.
enum class ErrorDescription : u32 {
Success = 0,
SessionClosedByRemote = 26,
WrongPermission = 46,
OS_InvalidBufferDescriptor = 48,
MaxConnectionsReached = 52,