SRV_RECVMSGTYPE1 Channel: 2 SNAC(4,7) This is sent when another user, using an older client, sends you a message. This would seem to be a hold back from the AIM protocol as all values are big endian. Type 2 messages contain many little endian numbers. Parameters Length/TLV Content (If Fixed) Designations Description 4 xx xx xx xx TIME Seems to be a time stamp in 1/1500 sec since 8am of that Sunday. ((time(NULL) - (8*60*60)) + DayOfWeek*60*60*24)) * 1500 4 xx xx xx xx RANDOM A seemingly random ID generated for each message. 2 00 01 MSGFORMAT This differentiates between messages from newer clients and older clients. This will be 0x0001, Type 1, for old clients. 1 xx STRLEN Length of the following UIN in ASCII format. Varies xx .. UIN The sender's UIN in ASCII format. 2 00 00 WARNING A warning level? Apparently an unused holdover from the AIM protocol. 2 xx xx COUNT A count of the number of following TLVs. The following TLVs have been seen but may not always be present. TLV(01) 00 01 00 02 00 50 UNKNOWN Unknown TLV(04) 00 04 00 02 00 00 UNKNOWN Unknown, Not present in File Request, File OK, or Auto Message Request messages. TLV(06) 00 06 00 04 xx xx xx xx STATUS The sender's online status. TLV(0F) 00 0F 00 04 xx xx xx xx TIME Seems to be a number of seconds since a recent event. TLV(02) 00 02 00 04 xx xx xx xx TIME The member since time(NULL). TLV(03) 00 03 00 04 xx xx xx xx TIME The online since time(NULL). TLV(02) 00 02 xx xx MESSAGE Yes, TLV(02) again. This TLV contains the message and is broken down as follows: 2 05 01 UNKNOWN Unknown 2 xx xx BYTELEN Count of the following bytes. Varies .. UNKNOWN Unknown 2 01 01 UNKNOWN Unknown 2 xx xx MSGLEN This is the length of the actual message text plus 4. 4 xx xx xx xx UNKNOWN Unknown. Perhaps to ensure that the length is >4, to allow you to distinguish between the two TLV(2) parameters? Varies .. MESSAGE The actual message text. There will be no ending NULL. -------------------------------------------------------------------------------- 2A 02 B4 B9 00 55 FLAP: Channel 2, Seq 0xb4b9, Size 0x55 00 04 00 07 00 00 81 83 69 4E SNAC: 0x04/0x07, Ref 0x8183694e, Flags 0 8A D9 F8 08 Seems to be a time stamp 82 1E Random message ID 00 00 00 01 Type 1 message format 09 Length 31 31 32 33 34 35 36 37 38 '112345678' 00 00 00 04 TLV Count 00 01 00 02 00 50 Unknown seems to be constant 00 06 00 04 20 00 00 00 Online status 00 0F 00 04 00 00 00 25 Count in seconds 00 03 00 04 3C 44 3D 56 Online since 00 02 00 11 TLV(02) 05 01 Unknown, constant 00 01 Counts of following bytes 01 Unknown 01 01 Unknown, constant 00 08 Length of the message + 4 00 00 00 00 Unknown seems to be constant 74 65 73 74 The Message "test"