Pocket Edition FAQ

From wiki.vg
Revision as of 08:04, 27 November 2012 by Shoghicp (talk) (Basic PE FAQ (WiP))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Normal Login Sequence

C = Client
S = Server
B = Broadcast

Server searching

  1. C->B 0x02 ID_UNCONNECTED_PING_OPEN_CONNECTIONS
  2. S->C 0x1c ID_UNCONNECTED_PONG

Connecting a server

  1. C->S 0x05 ID_OPEN_CONNECTION_REQUEST_1 (different packet sizes until a correct response is sent)
  2. S->C 0x06 ID_OPEN_CONNECTION_REPLY_1
  3. C->S 0x07 ID_OPEN_CONNECTION_REQUEST_2
  4. S->C 0x08 ID_OPEN_CONNECTION_REPLY_2
  5. C->S 0x09 DATA ClientConnect
  6. S->C 0x10 DATA
  7. C->S 0x13 DATA
  8. C->S 0x82 DATA Login (send username)