Swap bytes for tcp port number because windows API gives us port in network order...
commit24bbb94b6b78d99dfbdc50859b39654779b32ef4
authorAlex Thibodeau <alexthibodeau@unity3d.com>
Wed, 7 Aug 2019 12:30:07 +0000 (7 08:30 -0400)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 7 Aug 2019 12:30:07 +0000 (7 14:30 +0200)
tree81ffe89f46547c2d51c979d4f6bd38122e59cf75
parentba1c949a24594c65d9fca77fb13c3af09c54c16b
Swap bytes for tcp port number because windows API gives us port in network order. (#16030)

Addresses the FIXME in Win32IPGlobalProperties.cs :: FillTcpTable

Fixed Unity issue: issuetracker.unity3d.com/issues/ipglobalproperties-dot-getactivetcpconnections-return-different-port-numbers-when-compared-to-cli-netstat-a-output
mcs/class/System/System.Net.NetworkInformation/Win32IPGlobalProperties.cs