All pastes #746218 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-10-23 01:49 UTC
rendered paste body
using System;
using System.Collections.Generic;
using System.Text;

namespace Server
{
    class ClientState
    {
        private System.Net.Sockets.Socket socket;
        private byte[] buffer;

        public System.Net.Sockets.Socket Socket { get { return this.socket; } }
        public byte[] Buffer { get { return this.buffer; } }

        public ClientState(System.Net.Sockets.Socket sock)
        {
            this.socket = sock;
            this.buffer = new byte[64];
        }
    }
}