Difference between revisions of "Server.met file"

From AMule Project FAQ
Jump to: navigation, search
 
Line 21: Line 21:
 
*Server Count (4 Bytes): lists the number of servers that follow
 
*Server Count (4 Bytes): lists the number of servers that follow
  
*Block of servers: each server is constituted by the following fields:
+
*Block of servers: each server is constituted by the following fields
  
 
**Server IP (4 Bytes)
 
**Server IP (4 Bytes)

Revision as of 18:20, 7 June 2005

File

Name: Server.met

Location: ~/.aMule/

Description

Binary file containing the list of servers known to aMule.

Because its in binary format, it must be changed within aMule, or with other appropriate tools.

The format description below is for development information purposes.

Format

Note: all digit filds fields are unsigned unless stated.

  • Met Header (1 Byte): with value Ox0E, and is used in aMule to check for valid server.met files
  • Server Count (4 Bytes): lists the number of servers that follow
  • Block of servers: each server is constituted by the following fields
    • Server IP (4 Bytes)
    • Server Port (2 Bytes)
    • Tag Count (4 Bytes): lists the number of server tags that follow.
    • Block of Tags: each server can have a list of associated tags. Each tag as the following format: