Secondary Client - Chat Room Listing Sequence




The typical chat list requesting sequence is a relatively short one consisting of only two packet types.


Scenario: We are about to request a chat room listing from a WPN primary client/node.

Lets begin by contacting a Primary client we are connected to and sending the 0x238D chat list request packet in the following format.

Request Roomlist
[0x238D][ Packet Data Length : 2  ][ 00  : 4 ]

Actually sent: Brackets added for clarity.
[8D 23][ 04 00][00 00 00 00]  

ASCII =  ?#    






We will now await the reception of 0x238E packets from the Primary client, one result will be obtained for each room on the list.
Please note this packet is very often fragmented.  

Recieve Roomlist Entry
[ 0x238E][ Packet Data Length : 2 ][ Number of Users in Channel : 4 ][ Max Users Allowed : 4 ][ RoomName : S ][ 00 : 1 ]
[ Room Topic : S ][ 00 :1 ]

Note : [ RoomName : N ] includes IP and Port digits eg : TestRoom_FFFFFFFF1A2A (6698)

Actually recieved: Brackets added for clarity.
[8E 23][66 00][2A 00 00 00][F4 01 00 00][57 69 6E 4D 58 57 6F 72 6C 64 2E 63 6F 6D 20 48 65 6C 70 5F 45 44 42 34 31 33 35 34 42 41 42 45][00] 5B 45 53 5D 20 57 69 6E 4D 58 57 6F 72 6C 64 20 48 65 6C 70 20 66 6F 72 20 61 6C 6C 20 79 6F 75 72 20 57 69 6E 4D 58 20 6E 65 65 64 73 20 26 20 6E 65 77 73 20 73 74 6F 70 20 69 6E][00]

ASCII = ?#f   *   ��nbsp;WinMXWorld.com Help_EDB41354BABE [ES] WinMXWorld Help for all your WinMX needs & news stop in






The listing will continue repeatedly until the primary has reached the end of its stored list results, normally around the 1400 room mark.

If you wish to view a simple program with src for this function you should obtain the RoomD example program inside Nushi's MxSock.zip file from the archive here, this is basically a small demo program that delivers a room list and not much else.

I hope you have enjoyed this guide.

©2005-2024 WinMXWorld.com. All rights reserved. Page last updated Thu Jul 09 2009