예제 #1
0
파일: Server.cs 프로젝트: pengpercy/lphant
        /// <summary>
        /// Request file sources via UDP from server.
        /// </summary>
        /// <param name="hashes">Array of file hashes.</param>
        public void RequestSourcesUDP(ArrayList hashes)
        {
            MemoryStream         buffer          = new MemoryStream();
            CServerAskSourcesUDP PedirFuentesUDP = new CServerAskSourcesUDP(hashes, buffer);

            m_SendPacketUDP(buffer);
        }
예제 #2
0
파일: Server.cs 프로젝트: pengpercy/lphant
        /// <summary>
        /// Request file sources via UDP from server.
        /// </summary>
        /// <param name="FileHash">Hash of the file.</param>
        public void RequestSourcesUDP(byte[] FileHash)
        {
            MemoryStream         buffer          = new MemoryStream();
            CServerAskSourcesUDP PedirFuentesUDP = new CServerAskSourcesUDP(FileHash, buffer);

            m_SendPacketUDP(buffer);
        }
예제 #3
0
 /// <summary>
 /// Request file sources via UDP from server.
 /// </summary>
 /// <param name="hashes">Array of file hashes.</param>
 public void RequestSourcesUDP(ArrayList hashes)
 {
     MemoryStream buffer=new MemoryStream();
     CServerAskSourcesUDP PedirFuentesUDP=new CServerAskSourcesUDP(hashes,buffer);
     m_SendPacketUDP(buffer);
 }
예제 #4
0
 /// <summary>
 /// Request file sources via UDP from server.
 /// </summary>
 /// <param name="FileHash">Hash of the file.</param>
 public void RequestSourcesUDP(byte[] FileHash)
 {
     MemoryStream buffer=new MemoryStream();
     CServerAskSourcesUDP PedirFuentesUDP=new CServerAskSourcesUDP(FileHash,buffer);
     m_SendPacketUDP(buffer);
 }