Example #1
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);
        }
Example #2
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);
        }
Example #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);
 }
Example #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);
 }