Removed unused incoming stream code.

This commit is contained in:
Filip Maj 2015-10-15 17:04:04 -04:00
parent c767c626a3
commit 7c22cece93
2 changed files with 2 additions and 11 deletions

View file

@ -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);