Commit Graph

8 Commits

Author SHA1 Message Date
Dmitry Rekman
e647eeb2a0 Hardened the beacons fix.
- 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]
2015-03-02 16:50:10 -05:00
Dmitry Rekman
a185b60b1f Fix for beacons not binding to 0.0.0.0.
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]
2015-03-02 15:47:06 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Dmitry Rekman
d3bb66e2af Bind to any address if cannot resolve hostname.
- 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]
2014-11-24 17:40:21 -05:00
Bart Bressler
a818b25d70 Fix UE-4390 - convert gethostbyname function calls to getaddrinfo function calls.
[CL 2363558 by Bart Bressler in Main branch]
2014-11-18 12:24:38 -05:00
Max Preussner
017837289f Modules: Module Manager API cleanup pass
There is now a consistent set of methods for module loading, unloading and lookup that all behave in the same expected way.

- renamed GetModuleInterface to GetModule and made it not assert
- removed GetModuleInterfaceRef
- namespace enums to enum classes, NULL to nullptr
- moved important public methods to the top, so they're easier to discover
- added missing & improved existing documentation
- cleaned up existing use cases

[CL 2109936 by Max Preussner in Main branch]
2014-06-18 19:23:34 -04:00
Peter Sauerbrei
ad1395f6a6 #ue4
#ios
* fix for shutdown crash on iOS, no longer try to stop the socket subsystem if we aren't on the main thread

TTP328922

[CL 2045351 by Peter Sauerbrei in Main branch]
2014-04-23 18:43:57 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00