MKWii Network Protocol/Server/

From Custom Mario Kart
Jump to navigation Jump to search

Server SV (abbreviation for SuperVisor) is a new server created by Wiimm for Wiimmfi. It did not exist when the servers were still operated by Nintendo and GameSpy.


Server SV is a new analytic server and the central delivery agent for internal communication.

SV has permanent connections to MASTER+MS, NATNEG and some other servers. It is also connected to all GPCM instances. Server SV analyses the data of all other instances to build internal models, especially for private and global rooms of Mario Kart Wii. Some of the room statuses are delivered as Wiimmfi packets by GPCM to the clients. Tools like mkw-ana can extract the information and use them as additional source.

Another point is the gpcm-to-gpcm communication. Before SV, each GPCM instance opens a UNIX stream socket of other GPCM instances to deliver status messages. With the new SV, each GPCM instances uses only one UNIX stream socket to SV and use SV as delivery agent. Also server MASTER and the Wiimmfi portal use SV as delivery agent to e.g. kick a player.

Other Servers

Nintendo's Servers for Mario Kart Wii
DNS Name IP Address Port Protocol Description 29920 N/A These are looked up, but never used. N/A TCP These are looked up, but never used. 29900 TCP This connection is used to manage friends and to inform about one's status. 29901 TCP The server exchanges profile ids into user nicks. 27900 UDP See pages 28910 TCP This server handles database requests for online matchmaking. 27901 UDP NAT NEGotiation is a way to bypass NAT and firewalls. 27901 UDP NAT NEGotiation is a way to bypass NAT and firewalls. 27901 UDP NAT NEGotiation is a way to bypass NAT and firewalls. 443 TCP/HTTP(S) This server handles Mii exchange and Ghost up/downloads
443 TCP/HTTP(S) The authority DNS server delivers randomly both IP addresses with a TTL (time to live) of 30s to support a kind of load balancing. 443 TCP/HTTP(S) This server is used for time trial / competition leaderboards and the actual competition distribution.

Related Topics