OpenNap 201 Packet Format







[ Packet Type 201 ] - 0xC9 - Server to Client - Search Query Results

 <PacketLength><PacketType>"<filename>" <md5> <size> <bitrate> <frequency> <length> <nick> <ip><link-type> [ [weight] | [queue] "[software]" ]


     <md5> see secton "MD5"
     <size> is the file size in bytes
     <bitrate> is the mp3 bit rate in kbps
     <frequency> is sample rate in hz
     <length> is the play length of the mp3 in seconds
     <nick>/ the username of the file holder
     <ip> is an unsigned long integer representing the IP address of the file holder
     <link-type> see Client login <2> packet for a description
     [weight] a weighting factor to allow the Client to sort the list of results.
         Positive values indicate a "better" match, negative values indicate a "worse" match.
         If not present, the weight should be considered to be 0.

     [queue] for SlavaNap 2.x only. queued items number for remote user. Server will return it if you have added "SHOW_QUEUE" to search request.
     [weight] parameter is not returned by Slavanap Server.

     [software] for SlavaNap 2.x only. This parameter shows software that is used by remote Client.

     Example:

     "random band - random song.mp3" 7d733c1e7419674744768db71bff8bcd-2557521 2558199 128 44100 159 lefty 3437166285 4


    SlavaNap examples:

     request: FILENAME CONTAINS "sunshine"
     possible reply: "c:\MP3\Emma Bunton - Sunshine On A Rainy Day.mp3" 00000000000000000000000000000000 4118494 128 44100 257 CyberAlien 3437166285 6

     request: FILENAME CONTAINS "sunshine" SHOW_QUEUE
     possible reply: "c:\MP3\Emma Bunton - Sunshine On A Rainy Day.mp3" 00000000000000000000000000000000 4118494 128 44100 257 CyberAlien 3437166285 6 n/a

     possible reply: "c:\MP3\Emma Bunton - Sunshine On A Rainy Day.mp3" 00000000000000000000000000000000 4118494 128 44100 257 CyberAlien 3437166285 6 2

     possible reply: "c:\MP3\Emma Bunton - Sunshine On A Rainy Day.mp3" 00000000000000000000000000000000 4118494 128 44100 257 CyberAlien 3437166285 6 -1

     request: FILENAME CONTAINS "sunshine" SHOW_SOFTWARE
     possible reply: "c:\MP3\Emma Bunton - Sunshine On A Rainy Day.mp3" 00000000000000000000000000000000 4118494 128 44100 257 CyberAlien 3437166285 6 "v2.0 BETA 10.4"

     possible reply: "c:\MP3\Emma Bunton - Sunshine On A Rainy Day.mp3" 00000000000000000000000000000000 4118494 128 44100 257 CyberAlien 3437166285 6 CQ_EX

     request: FILENAME CONTAINS "sunshine" SHOW_SOFTWARE SHOW_QUEUE
     possible reply: "c:\MP3\Emma Bunton - Sunshine On A Rainy Day.mp3" 00000000000000000000000000000000 4118494 128 44100 257 CyberAlien 3437166285 6 n/a "v2.0 BETA 10.4"

     possible reply: "c:\MP3\Emma Bunton - Sunshine On A Rainy Day.mp3" 00000000000000000000000000000000 4118494 128 44100 257 CyberAlien 3437166285 6 0 CQ_EX    


      NAPSTER  Compatible
      OPENNAP  Compatible
      SLAVANAP Compatible


Return To OurMx OpenNap Protocol Specification

©2005-2019 WinMXWorld.com. All rights reserved. Page last updated Thu May 29 2014