Skip to content

Fix NetherNet socket address handling - #61

Open
leodascripto wants to merge 1 commit into
minecraft-linux:masterfrom
leodascripto:fix/nethernet-socket-handling
Open

leodascripto wants to merge 1 commit into
minecraft-linux:masterfrom
leodascripto:fix/nethernet-socket-handling

Conversation

@leodascripto

Copy link
Copy Markdown

Summary

  • Handle IPv4-mapped IPv6 addresses in from_host().
  • Restore the original msg_name pointer after recvmsg().
  • Preserve msg_namelen when recvmsg() fails.

Testing

Tested on Pop!_OS 22.04 (x86_64), Intel Core i5-1135G7, with Minecraft Bedrock 1.26.60.4.

Successfully tested local gameplay and online multiplayer.

Related issue: minecraft-linux/mcpelauncher-manifest#2074

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant