XNetworking: wire UDP port change callbacks and UTF-16 security queries #1248
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!1248
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1248/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ashrafsdrop on GitHub · 2026-11-24 16:46 UTC · original
ashrafsdrop:net/xnetworking-methods→main· +85 −16 · 1 files · 1 commits · merged 2026-11-25 00:13 UTCSummary
Completes the remaining unimplemented slots in the
XNetworkingCOM-style interface (Methods<18>):UDP Port Change Callbacks (Slots 6 & 7 /
0x30,0x38):register(XNetworkingRegisterPreferredLocalUdpMultiplayerPortChanged) andunregister(XNetworkingUnregisterPreferredLocalUdpMultiplayerPortChanged).3074) is fixed offline, so registration tokens are allocated viatoken()and the callback never needs to fire, avoidingE_NOTIMPLwhen titles register for port changes during startup or socket binding.UTF-16 Security Queries (Slots 11, 12, 13 /
0x58,0x60,0x68):security_info_utf16_asyncforXNetworkingQuerySecurityInformationForUrlUtf16Async, logging wide URLs and completing the async task withUNREACHABLE(0x800704CF), matching the UTF-8 version.security_info_sizeandsecurity_info_resultinto slots0x60and0x68.Tests:
Verification
cargo test -p victory-hlepassed (94 tests, 0 failures).cargo clippy -p victory-hlepassed with zero warnings.cargo run -p xtask -- policyverified (154 files ok).@Zipettte on GitHub · 2026-11-24 17:59 UTC · original
Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at
64a33ec:cargo test -p victory-hlepasses, 95 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).Tested with AI assistance (Claude).
@ashrafsdrop on GitHub · 2026-11-24 18:01 UTC · original
Thanks @Zipettte for testing across AMD RDNA3 hardware! Great to see it clean across both NVIDIA and AMD setups.