initial attempt at socket pooling -- DOES NOT WORK -- EVIL CODE -- DO NOT RUN LIVE -- etc

This commit is contained in:
krrios 2007-04-25 05:54:23 +00:00
parent 699ce6b4b7
commit 2b54372249
3 changed files with 91 additions and 45 deletions

View file

@ -94,6 +94,8 @@ namespace Server.Network
if ( s == null )
return;
s.Close();
lock ( m_FreeSockets )
m_FreeSockets.Enqueue( s );
}