initial attempt at socket pooling -- DOES NOT WORK -- EVIL CODE -- DO NOT RUN LIVE -- etc
This commit is contained in:
parent
699ce6b4b7
commit
2b54372249
3 changed files with 91 additions and 45 deletions
|
|
@ -94,6 +94,8 @@ namespace Server.Network
|
|||
if ( s == null )
|
||||
return;
|
||||
|
||||
s.Close();
|
||||
|
||||
lock ( m_FreeSockets )
|
||||
m_FreeSockets.Enqueue( s );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue