OpenNap 10300 Packet Format







[ Packet Type 10300 ] - 0x283C - Client to Server - Add Mime-Type File To Share Index

     <PacketLength><PacketType>"<filename>"<size><md5><major-content-type>

      "<filename>" This is the filename string of the file to be added to the shared file index.
      <size>      This is the size of the file in bytes
      <MD5>  This is the md5 hash of the file , this is counted the same way as for command <100>.
      <major-content-type> This is the major MIME type defined for what the data is.
                                    Should be one of: audio, video, text, image, application, mp3.

          NOTE: mp3 is a separate type here since the original nap protocol was designed for sharing only mp3 files.
          "audio" refers to other types of audio files.


      Examples:

     
"C:\IMAGES\Grand Canyon.jpg" 54187 bc938fdc0ef63772bfbdbf57aabb0860-54187 image


     
"\home\drscholl\src\opennap-0.11.tar.gz" 102161 51c07734811a26853b1a2a87b67c68a1-102161 application




      OPENNAP  Compatible
      SLAVANAP Compatible



Return To OurMx OpenNap Protocol Specification

©2005-2024 WinMXWorld.com. All rights reserved. Page last updated Wed May 28 2014