Example #1
0
        public AubitNetwork(AubitNetwork.SocketStyle s, TcpClient c)
        {
            this.sockStyle          = s;
            this.username           = "******";
            this.password           = "******";
            this.application        = "Unknown";
            this.useExplicitStreams = false;
            this.tcpClient          = c;


            tcpStream = tcpClient.GetStream();


            if (useGzipRead)
            {
                tcpStreamGzipRead = new GZipStream(tcpStream, CompressionMode.Decompress);
            }
        }
Example #2
0
 public void setEnvelopeMode()
 {
     this.sockStyle = AubitNetwork.SocketStyle.SocketStyleEnvelope;
 }
Example #3
0
 public AubitNetwork(AubitNetwork.SocketStyle s)
 {
     this.sockStyle   = s;
     this.application = "Unknown";
 }