C# Class Helios.Util.IpHelper

Used to help with determining the correct AddressFamily to specify when binding to a Socket.
Used to help resolve https://github.com/akkadotnet/akka.net/issues/2194 and https://github.com/helios-io/helios/issues/118, which were caused by inconsistencies between .NET and Mono / Linux.
ファイルを表示 Open project: helios-io/helios

Public Methods

Method Description
BestAddressFamily ( this ep ) : AddressFamily

Resolves the most specific AddressFamily for a given endpoint.

Method Details

BestAddressFamily() public static method

Resolves the most specific AddressFamily for a given endpoint.
public static BestAddressFamily ( this ep ) : AddressFamily
ep this The we're going to find a fit for.
return AddressFamily