예제 #1
0
파일: GroupChat.cs 프로젝트: thinhils/Teach
        internal void setVoice(string ip, int port, string voiceName)
        {
            //throw new NotImplementedException();
            ftpDLParams param = new ftpDLParams(voiceName, "PCtest", "cache/video/" + voiceName);//*****************************************

            ftp.beginDownloadFile(param);
            ipRecv   = ip;
            portRecv = port;
        }
예제 #2
0
        internal void setPicture(string ip, int port, string picName)
        {
            //throw new NotImplementedException();
            ftpDLParams param = new ftpDLParams(picName, "PCtest", "ftpDownload/picture/" + picName);//*******************************************

            ftp.beginDownloadFile(param);
            ipRecv   = ip;
            portRecv = port;
            count++;
        }