You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
The issue was that when the udp socket builder got a socket error (e.g. bind failed), prior to calling GetLastError it was calling GLog->Logf, which under certain circumstances can also cause an error which GetLastError would then return (tends to happen when -log is in the command line), which may not even be a valid socket error code, therefore being flagged as an unhandled socket error and ultimately crashing with check(0). The fix is to call GetLastError before calling any other function that can clobber the error code that GetLastError returns. Also added a warning message when the receive or send buffer sizes fail to be set, but it will still return the otherwise configured socket. #rb simon.therriault #jira #preflight 61f1d845fd5285142b4fae3a #ROBOMERGE-AUTHOR: alejandro.arango #ROBOMERGE-SOURCE: CL 18747425 in //UE5/Release-5.0/... via CL 18747447 via CL 18747646 #ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472) [CL 18747665 by alejandro arango in ue5-main branch]
This module is an internal R&D effort to explore how the socket subsystem could be improved. Production use is NOT encouraged at this point.