예제 #1
0
        public void Open(StreamProperties streamProperties)
        {
            Properties = streamProperties;
            var hostname = Properties.Account.Server;
            var port = Properties.Account.Port;
            _socket = new Utilities.Socket(hostname, port);
            _stream = _socket.Connect();

            StartStreamProcessing();

            Send(Properties.StartStream());
        }
예제 #2
0
        public void Open(StreamProperties streamProperties)
        {
            Properties = streamProperties;
            var hostname = Properties.Account.Server;
            var port     = Properties.Account.Port;

            _socket = new Utilities.Socket(hostname, port);
            _stream = _socket.Connect();

            StartStreamProcessing();

            Send(Properties.StartStream());
        }