http://gitunderground.i2p/archive/Ryujinx/src/commit/29e192f241136ce910071ff4fdedda5bd1d9b838/src/Ryujinx.HLE/HOS/Services/Sockets/Sfdnsres/IResolver.cs
Span ; for ( int i = 0 ; i < hostEntry . AddressList . Length ; i + + ) { IPAddress ip = hostEntry . AddressList [ i ] ; if ( ip . AddressFamily ! = AddressFamily . InterNetwork ) { continue ; } // NOTE: 0 = Any AddrInfoSerializedHeader header = new ( ip , 0 ) ; AddrInfo4 addr = new ( ip , ( short ) port ) ; AddrInfoSerialized info = new ( header , addr , null , hostEntry .