Lan Worlds: Difference between revisions

From wiki.vg
Jump to navigation Jump to search
imported>Pdelvo
(Added Lan world page)
 
imported>Md 5
No edit summary
 
Line 1: Line 1:
Beginning with 1.3.1 minecraft introduces lan worlds. A player can open his single player map to allow other players in the local network to join. The minecraft client will open a random port and listen at it and behaves like a server. Other players in the local network will see this lan world in their server list.
Beginning with 1.3.1 minecraft introduces lan worlds. A player can open his single player map to allow other players in the local network to join. The minecraft client will open a random port and listen at it and behaves like a server. Other players in the local network will see this lan world in their server list.
This message is sent by the hosting server once every 1500ms.


The client who hosts the lan world will send a udp broadcast every second to the udp broadcast address 224.0.2.60:4445. Other clients in the local network will wait for such broadcasts and show incoming entries in the server browser. This is a example of a lan world datagram packet:
The client who hosts the lan world will send a udp broadcast every second to the udp broadcast address 224.0.2.60:4445. Other clients in the local network will wait for such broadcasts and show incoming entries in the server browser. This is a example of a lan world datagram packet:

Latest revision as of 12:30, 18 August 2012

Beginning with 1.3.1 minecraft introduces lan worlds. A player can open his single player map to allow other players in the local network to join. The minecraft client will open a random port and listen at it and behaves like a server. Other players in the local network will see this lan world in their server list.

This message is sent by the hosting server once every 1500ms.

The client who hosts the lan world will send a udp broadcast every second to the udp broadcast address 224.0.2.60:4445. Other clients in the local network will wait for such broadcasts and show incoming entries in the server browser. This is a example of a lan world datagram packet:

[MOTD]pdelvo - world[/MOTD][AD]192.168.2.42:15380[/AD]

Here are examples how to send and receive these packets: C# Example [1]