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); } }
public void setEnvelopeMode() { this.sockStyle = AubitNetwork.SocketStyle.SocketStyleEnvelope; }
public AubitNetwork(AubitNetwork.SocketStyle s) { this.sockStyle = s; this.application = "Unknown"; }