예제 #1
0
        public void ResponseStartStreamRequest(string stream, EndPoint client)
        {
            StartStreamRequestProtocol ptc = new StartStreamRequestProtocol();

            ptc.StreamID = stream;
            SendPacket(1, ptc.ToBytes(), client);
        }
        public void RequestStartStream(string streamID, IPEndPoint server)
        {
            StartStreamRequestProtocol ptc = new StartStreamRequestProtocol();

            ptc.StreamID = streamID;
            SendPacket(1, server, ptc.ToBytes());
        }