Skip to content

Commit

Permalink
added Connection Request and Connection Request Accepted
Browse files Browse the repository at this point in the history
  • Loading branch information
ismaileke authored Nov 5, 2023
1 parent e1929b6 commit 267bbde
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions docs/servers/raknet-and-mcpe.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ You can find a list of Minecraft Bedrock server softwares [here](/servers/server
- [x] Open Connection Reply 1
- [x] Open Connection Request 2
- [x] Open Connection Reply 2
- [ ] Connection Request
- [ ] Connection Request Accepted
- **From here on, the RakNet connection is established and all RakNet messages are contained in a [Frame Set Packet](https://wiki.vg/Raknet_Protocol#Frame_Set_Packet).**
- [x] Connection Request
- [x] Connection Request Accepted

</Checklist>

Expand Down Expand Up @@ -97,6 +98,18 @@ This is the last part of the handshake between the client and the server.

`0x08 | magic | server GUID | client address | Null Padding Size | use encryption`

### Connection Request

This is the part where the client sends the connection request.

`0x09 | client GUID | Request timestamp (Long) | Secure (Boolean, I use 0x00)`

### Connection Request Accepted

The server sends this packet in response to the incoming connection request.

`0x10 | client Address | System index (Short, unknown what this does. 0 works as a value) | System adresses ([]Address) | Request timestamp (Long) | Accepted timestamp (Long)`

## Sources

[RakNet Documentation](https://wiki.vg/Raknet_Protocol)
Expand Down

0 comments on commit 267bbde

Please sign in to comment.