You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fix bad address creation and incorrect socket protocol construction bug with the TCPSocketBuilder on iOS.
#Jira: UE-63767 #rb: joe.graf [FYI] joe.graf, ryan.gerleve #rnx #ROBOMERGE-OWNER: lina.halper #ROBOMERGE-AUTHOR: jake.leonard #ROBOMERGE-SOURCE: CL 4905555 in //UE4/Release-4.22/... via CL 4905559 #ROBOMERGE-BOT: ANIM (Main -> Dev-Anim) [CL 5015162 by jake leonard in Dev-Anim branch]
This commit is contained in:
@@ -215,7 +215,8 @@ public:
|
||||
|
||||
if (SocketSubsystem != nullptr)
|
||||
{
|
||||
Socket = SocketSubsystem->CreateSocket(NAME_Stream, *Description, ESocketProtocolFamily::IPv4);
|
||||
TSharedRef<FInternetAddr> BoundEndpointAddr = BoundEndpoint.ToInternetAddr();
|
||||
Socket = SocketSubsystem->CreateSocket(NAME_Stream, *Description);
|
||||
|
||||
if (Socket != nullptr)
|
||||
{
|
||||
@@ -225,7 +226,7 @@ public:
|
||||
|
||||
if (!Error)
|
||||
{
|
||||
Error = Bound && !Socket->Bind(*BoundEndpoint.ToInternetAddrIPV4());
|
||||
Error = Bound && !Socket->Bind(*BoundEndpointAddr);
|
||||
}
|
||||
|
||||
if (!Error)
|
||||
|
||||
Reference in New Issue
Block a user