mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
Removed unused incoming stream code.
This commit is contained in:
parent
c767c626a3
commit
7c22cece93
2 changed files with 2 additions and 11 deletions
|
@ -20,22 +20,12 @@ namespace FFXIVClassic_Lobby_Server
|
|||
public Blowfish blowfish;
|
||||
public Socket socket;
|
||||
public byte[] buffer = new byte[0xffff];
|
||||
public CircularBuffer<byte> incomingStream = new CircularBuffer<byte>(1024);
|
||||
private BlockingCollection<BasePacket> sendPacketQueue = new BlockingCollection<BasePacket>(100);
|
||||
private BlockingCollection<BasePacket> sendPacketQueue = new BlockingCollection<BasePacket>(1000);
|
||||
|
||||
//Instance Stuff
|
||||
public uint owner = 0;
|
||||
public uint connType = 0;
|
||||
|
||||
|
||||
public void processIncoming(int bytesIn)
|
||||
{
|
||||
if (bytesIn == 0)
|
||||
return;
|
||||
|
||||
incomingStream.Put(buffer, 0, bytesIn);
|
||||
}
|
||||
|
||||
public void queuePacket(BasePacket packet)
|
||||
{
|
||||
sendPacketQueue.Add(packet);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue