- Do not honor -multihome unless valid.
- More getaddrinfo() errors to ignore + more accurate error reporting.
#codereview Peter.Knepley, Josh.Markiewicz
[CL 2466955 by Dmitry Rekman in Main branch]
The "smallest footprint" change, as the logic is a bit convoluted (the code is used by beacons and by OnlineSubsystemNull for slightly different purposes).
- Do not consider EWOULDBLOCK a failure and instead proceed to bind to any address.
- Honor -multihome= command line arg.
#codereview Peter.Knepley, Josh.Markiewicz
[CL 2466820 by Dmitry Rekman in Main branch]
Fix assert and still returning no error if an unexpected error code happens in bsd sockets getaddrinfo()
//depot/UE4-UT/...
to //depot/UE4/...
#codereview John.Pollard
[CL 2456666 by Peter Knepley in Main branch]
- Ubuntu/Debian/SteamOS have an entry in /etc/hosts that maps hostname to 127.0.1.1
- This breaks the code that tries to advertise local addr over LAN (e.g. OnlineSubsystemNull).
- Resolves UE-5407 (ShooterGame cannot join match)
#codereview Josh.Adams, Michael.Trepka
[CL 2401553 by Dmitry Rekman in Main branch]
- This was the actual behavior before CL 2363558 (UE-4390).
- Fixes FORT-2795 with servers crashing on certain VM setups.
- Also, map getaddrinfo() error codes to cross-platform enum.
#codereview Bart.Bressler, John.Pollard
[CL 2369070 by Dmitry Rekman in Main branch]
Windows enables inheritance for socket inheritance by default, which causes open listener sockets to be passed to client processes. This causes problems in certain scenarios, for example when restarting the Editor to load a new project, or when interfacing with the Android SDK (adb.exe). Child processes or new instances of the Editor are then not able to bind to the listener ports.
#CodeReview: sam.zamani
[CL 2364217 by Max Preussner in Main branch]
- Fixes unity build when both IPv4 and IPv6 sockets happen to be in a single compile unit.
#codereview Ryan.Gerleve
[CL 2339241 by Dmitry Rekman in Main branch]