Global

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.net

 

CIDRMask

 

class method CIDRMask(ones: int; bits: int): IPMask

 

static IPMask CIDRMask(int ones, int bits)

 

static func CIDRMask(_ ones: int, _ bits: int) -> IPMask

 

func CIDRMask(ones int, bits int) IPMask

Parameters:

  • ones:
  • bits:

Dial

 

// .NET, Island
class method Dial(network: string; address: string): tuple of (Conn, error)
// .NET Standard 2.0
class method Dial(network: string; address: string): ValueTuple<Conn, error>

 

// .NET, Island
static (Conn, error) Dial(string network, string address)
// .NET Standard 2.0
static ValueTuple<Conn, error> Dial(string network, string address)

 

// .NET, Island
static func Dial(_ network: string, _ address: string) -> (Conn, error)
// .NET Standard 2.0
static func Dial(_ network: string, _ address: string) -> ValueTuple<Conn, error>

 

// .NET, Island
func Dial(network string, address string) (Conn, error)
// .NET Standard 2.0
func Dial(network string, address string) ValueTuple<Conn, error>

Parameters:

  • network:
  • address:

DialTimeout

 

// .NET, Island
class method DialTimeout(network: string; address: string; dt: Duration): tuple of (Conn, error)
// .NET Standard 2.0
class method DialTimeout(network: string; address: string; dt: Duration): ValueTuple<Conn, error>

 

// .NET, Island
static (Conn, error) DialTimeout(string network, string address, Duration dt)
// .NET Standard 2.0
static ValueTuple<Conn, error> DialTimeout(string network, string address, Duration dt)

 

// .NET, Island
static func DialTimeout(_ network: string, _ address: string, _ dt: Duration) -> (Conn, error)
// .NET Standard 2.0
static func DialTimeout(_ network: string, _ address: string, _ dt: Duration) -> ValueTuple<Conn, error>

 

// .NET, Island
func DialTimeout(network string, address string, dt Duration) (Conn, error)
// .NET Standard 2.0
func DialTimeout(network string, address string, dt Duration) ValueTuple<Conn, error>

Parameters:

  • network:
  • address:
  • dt:

ErrWriteToConnected

 

class var ErrWriteToConnected: error;

 

static error ErrWriteToConnected

 

static var ErrWriteToConnected: error

 

ErrWriteToConnected error

FileListener

 

// .NET, Island
class method FileListener(f: Reference<File>): tuple of (Listener, error)
// .NET Standard 2.0
class method FileListener(f: Reference<File>): ValueTuple<Listener, error>

 

// .NET, Island
static (Listener, error) FileListener(Reference<File> f)
// .NET Standard 2.0
static ValueTuple<Listener, error> FileListener(Reference<File> f)

 

// .NET, Island
static func FileListener(_ f: Reference<File>) -> (Listener, error)
// .NET Standard 2.0
static func FileListener(_ f: Reference<File>) -> ValueTuple<Listener, error>

 

// .NET, Island
func FileListener(f Reference<File>) (Listener, error)
// .NET Standard 2.0
func FileListener(f Reference<File>) ValueTuple<Listener, error>

Parameters:

  • f:

FlagBroadcast

 

const FlagBroadcast: Flags = 2;

 

const Flags FlagBroadcast = 2

 

static let FlagBroadcast: Flags = 2

 

const FlagBroadcast Flags =  = 2

FlagLoopback

 

const FlagLoopback: Flags = 4;

 

const Flags FlagLoopback = 4

 

static let FlagLoopback: Flags = 4

 

const FlagLoopback Flags =  = 4

FlagMulticast

 

const FlagMulticast: Flags = 16;

 

const Flags FlagMulticast = 16

 

static let FlagMulticast: Flags = 16

 

const FlagMulticast Flags =  = 16

FlagPointToPoint

 

const FlagPointToPoint: Flags = 8;

 

const Flags FlagPointToPoint = 8

 

static let FlagPointToPoint: Flags = 8

 

const FlagPointToPoint Flags =  = 8

FlagUp

 

const FlagUp: Flags = 1;

 

const Flags FlagUp = 1

 

static let FlagUp: Flags = 1

 

const FlagUp Flags =  = 1

IPv4

 

class method IPv4(a: byte; b: byte; c: byte; d: byte): IP

 

static IP IPv4(byte a, byte b, byte c, byte d)

 

static func IPv4(_ a: byte, _ b: byte, _ c: byte, _ d: byte) -> IP

 

func IPv4(a byte, b byte, c byte, d byte) IP

Parameters:

  • a:
  • b:
  • c:
  • d:

IPv4allrouter

 

class var IPv4allrouter: IP;

 

static IP IPv4allrouter

 

static var IPv4allrouter: IP

 

IPv4allrouter IP

IPv4allsys

 

class var IPv4allsys: IP;

 

static IP IPv4allsys

 

static var IPv4allsys: IP

 

IPv4allsys IP

IPv4bcast

 

class var IPv4bcast: IP;

 

static IP IPv4bcast

 

static var IPv4bcast: IP

 

IPv4bcast IP

IPv4len

 

const IPv4len: Int64 = 4;

 

const Int64 IPv4len = 4

 

static let IPv4len: Int64 = 4

 

const IPv4len Int64 =  = 4

IPv4Mask

 

class method IPv4Mask(a: byte; b: byte; c: byte; d: byte): IPMask

 

static IPMask IPv4Mask(byte a, byte b, byte c, byte d)

 

static func IPv4Mask(_ a: byte, _ b: byte, _ c: byte, _ d: byte) -> IPMask

 

func IPv4Mask(a byte, b byte, c byte, d byte) IPMask

Parameters:

  • a:
  • b:
  • c:
  • d:

IPv4zero

 

class var IPv4zero: IP;

 

static IP IPv4zero

 

static var IPv4zero: IP

 

IPv4zero IP

IPv6interfacelocalallnodes

 

class var IPv6interfacelocalallnodes: IP;

 

static IP IPv6interfacelocalallnodes

 

static var IPv6interfacelocalallnodes: IP

 

IPv6interfacelocalallnodes IP

IPv6len

 

const IPv6len: Int64 = 16;

 

const Int64 IPv6len = 16

 

static let IPv6len: Int64 = 16

 

const IPv6len Int64 =  = 16

IPv6linklocalallnodes

 

class var IPv6linklocalallnodes: IP;

 

static IP IPv6linklocalallnodes

 

static var IPv6linklocalallnodes: IP

 

IPv6linklocalallnodes IP

IPv6linklocalallrouters

 

class var IPv6linklocalallrouters: IP;

 

static IP IPv6linklocalallrouters

 

static var IPv6linklocalallrouters: IP

 

IPv6linklocalallrouters IP

IPv6loopback

 

class var IPv6loopback: IP;

 

static IP IPv6loopback

 

static var IPv6loopback: IP

 

IPv6loopback IP

IPv6unspecified

 

class var IPv6unspecified: IP;

 

static IP IPv6unspecified

 

static var IPv6unspecified: IP

 

IPv6unspecified IP

IPv6zero

 

class var IPv6zero: IP;

 

static IP IPv6zero

 

static var IPv6zero: IP

 

IPv6zero IP

JoinHostPort

 

class method JoinHostPort(host: string; port: string): string

 

static string JoinHostPort(string host, string port)

 

static func JoinHostPort(_ host: string, _ port: string) -> string

 

func JoinHostPort(host string, port string) string

Parameters:

  • host:
  • port:

Listen

 

// .NET, Island
class method Listen(network: string; address: string): tuple of (Listener, error)
// .NET Standard 2.0
class method Listen(network: string; address: string): ValueTuple<Listener, error>

 

// .NET, Island
static (Listener, error) Listen(string network, string address)
// .NET Standard 2.0
static ValueTuple<Listener, error> Listen(string network, string address)

 

// .NET, Island
static func Listen(_ network: string, _ address: string) -> (Listener, error)
// .NET Standard 2.0
static func Listen(_ network: string, _ address: string) -> ValueTuple<Listener, error>

 

// .NET, Island
func Listen(network string, address string) (Listener, error)
// .NET Standard 2.0
func Listen(network string, address string) ValueTuple<Listener, error>

Parameters:

  • network:
  • address:

LookupIP

 

// .NET, Island
class method LookupIP(host: string): tuple of (Slice<IP>, error)
// .NET Standard 2.0
class method LookupIP(host: string): ValueTuple<Slice<IP>, error>

 

// .NET, Island
static (Slice<IP>, error) LookupIP(string host)
// .NET Standard 2.0
static ValueTuple<Slice<IP>, error> LookupIP(string host)

 

// .NET, Island
static func LookupIP(_ host: string) -> (Slice<IP>, error)
// .NET Standard 2.0
static func LookupIP(_ host: string) -> ValueTuple<Slice<IP>, error>

 

// .NET, Island
func LookupIP(host string) (Slice<IP>, error)
// .NET Standard 2.0
func LookupIP(host string) ValueTuple<Slice<IP>, error>

Parameters:

  • host:

ParseAddress

 

// .NET, Island
class method ParseAddress(s: string): tuple of (string, Int32)
// .NET Standard 2.0
class method ParseAddress(s: string): ValueTuple<string, Int32>

 

// .NET, Island
static (string, Int32) ParseAddress(string s)
// .NET Standard 2.0
static ValueTuple<string, Int32> ParseAddress(string s)

 

// .NET, Island
static func ParseAddress(_ s: string) -> (string, Int32)
// .NET Standard 2.0
static func ParseAddress(_ s: string) -> ValueTuple<string, Int32>

 

// .NET, Island
func ParseAddress(s string) (string, Int32)
// .NET Standard 2.0
func ParseAddress(s string) ValueTuple<string, Int32>

Parameters:

  • s:

ParseCIDR

 

// .NET, Island
class method ParseCIDR(s: string): tuple of (IP, Reference<IPNet>, error)
// .NET Standard 2.0
class method ParseCIDR(s: string): ValueTuple<IP, Reference<IPNet>, error>

 

// .NET, Island
static (IP, Reference<IPNet>, error) ParseCIDR(string s)
// .NET Standard 2.0
static ValueTuple<IP, Reference<IPNet>, error> ParseCIDR(string s)

 

// .NET, Island
static func ParseCIDR(_ s: string) -> (IP, Reference<IPNet>, error)
// .NET Standard 2.0
static func ParseCIDR(_ s: string) -> ValueTuple<IP, Reference<IPNet>, error>

 

// .NET, Island
func ParseCIDR(s string) (IP, Reference<IPNet>, error)
// .NET Standard 2.0
func ParseCIDR(s string) ValueTuple<IP, Reference<IPNet>, error>

Parameters:

  • s:

ParseIP

 

class method ParseIP(s: string): IP

 

static IP ParseIP(string s)

 

static func ParseIP(_ s: string) -> IP

 

func ParseIP(s string) IP

Parameters:

  • s:

ParseMAC

 

class method ParseMAC(s: string): tuple of (hw: HardwareAddr, err: error)

 

static (HardwareAddr hw, error err) ParseMAC(string s)

 

static func ParseMAC(_ s: string) -> (hw:HardwareAddr, err:error)

 

func ParseMAC(s string) (hw HardwareAddr, err error)

Parameters:

  • s:

SplitHostPort

 

class method SplitHostPort(hostport: string): tuple of (host: string, port: string, err: error)

 

static (string host, string port, error err) SplitHostPort(string hostport)

 

static func SplitHostPort(_ hostport: string) -> (host:string, port:string, err:error)

 

func SplitHostPort(hostport string) (host string, port string, err error)

Parameters:

  • hostport:

 

FlagBroadcast

 

const FlagBroadcast: Flags = 2;

 

const Flags FlagBroadcast = 2

 

static let FlagBroadcast: Flags = 2

 

const FlagBroadcast Flags =  = 2

FlagLoopback

 

const FlagLoopback: Flags = 4;

 

const Flags FlagLoopback = 4

 

static let FlagLoopback: Flags = 4

 

const FlagLoopback Flags =  = 4

FlagMulticast

 

const FlagMulticast: Flags = 16;

 

const Flags FlagMulticast = 16

 

static let FlagMulticast: Flags = 16

 

const FlagMulticast Flags =  = 16

FlagPointToPoint

 

const FlagPointToPoint: Flags = 8;

 

const Flags FlagPointToPoint = 8

 

static let FlagPointToPoint: Flags = 8

 

const FlagPointToPoint Flags =  = 8

FlagUp

 

const FlagUp: Flags = 1;

 

const Flags FlagUp = 1

 

static let FlagUp: Flags = 1

 

const FlagUp Flags =  = 1

IPv4len

 

const IPv4len: Int64 = 4;

 

const Int64 IPv4len = 4

 

static let IPv4len: Int64 = 4

 

const IPv4len Int64 =  = 4

IPv6len

 

const IPv6len: Int64 = 16;

 

const Int64 IPv6len = 16

 

static let IPv6len: Int64 = 16

 

const IPv6len Int64 =  = 16

 

ErrWriteToConnected

 

class var ErrWriteToConnected: error;

 

static error ErrWriteToConnected

 

static var ErrWriteToConnected: error

 

ErrWriteToConnected error

IPv4allrouter

 

class var IPv4allrouter: IP;

 

static IP IPv4allrouter

 

static var IPv4allrouter: IP

 

IPv4allrouter IP

IPv4allsys

 

class var IPv4allsys: IP;

 

static IP IPv4allsys

 

static var IPv4allsys: IP

 

IPv4allsys IP

IPv4bcast

 

class var IPv4bcast: IP;

 

static IP IPv4bcast

 

static var IPv4bcast: IP

 

IPv4bcast IP

IPv4zero

 

class var IPv4zero: IP;

 

static IP IPv4zero

 

static var IPv4zero: IP

 

IPv4zero IP

IPv6interfacelocalallnodes

 

class var IPv6interfacelocalallnodes: IP;

 

static IP IPv6interfacelocalallnodes

 

static var IPv6interfacelocalallnodes: IP

 

IPv6interfacelocalallnodes IP

IPv6linklocalallnodes

 

class var IPv6linklocalallnodes: IP;

 

static IP IPv6linklocalallnodes

 

static var IPv6linklocalallnodes: IP

 

IPv6linklocalallnodes IP

IPv6linklocalallrouters

 

class var IPv6linklocalallrouters: IP;

 

static IP IPv6linklocalallrouters

 

static var IPv6linklocalallrouters: IP

 

IPv6linklocalallrouters IP

IPv6loopback

 

class var IPv6loopback: IP;

 

static IP IPv6loopback

 

static var IPv6loopback: IP

 

IPv6loopback IP

IPv6unspecified

 

class var IPv6unspecified: IP;

 

static IP IPv6unspecified

 

static var IPv6unspecified: IP

 

IPv6unspecified IP

IPv6zero

 

class var IPv6zero: IP;

 

static IP IPv6zero

 

static var IPv6zero: IP

 

IPv6zero IP

 

CIDRMask

 

class method CIDRMask(ones: int; bits: int): IPMask

 

static IPMask CIDRMask(int ones, int bits)

 

static func CIDRMask(_ ones: int, _ bits: int) -> IPMask

 

func CIDRMask(ones int, bits int) IPMask

Parameters:

  • ones:
  • bits:

Dial

 

// .NET, Island
class method Dial(network: string; address: string): tuple of (Conn, error)
// .NET Standard 2.0
class method Dial(network: string; address: string): ValueTuple<Conn, error>

 

// .NET, Island
static (Conn, error) Dial(string network, string address)
// .NET Standard 2.0
static ValueTuple<Conn, error> Dial(string network, string address)

 

// .NET, Island
static func Dial(_ network: string, _ address: string) -> (Conn, error)
// .NET Standard 2.0
static func Dial(_ network: string, _ address: string) -> ValueTuple<Conn, error>

 

// .NET, Island
func Dial(network string, address string) (Conn, error)
// .NET Standard 2.0
func Dial(network string, address string) ValueTuple<Conn, error>

Parameters:

  • network:
  • address:

DialTimeout

 

// .NET, Island
class method DialTimeout(network: string; address: string; dt: Duration): tuple of (Conn, error)
// .NET Standard 2.0
class method DialTimeout(network: string; address: string; dt: Duration): ValueTuple<Conn, error>

 

// .NET, Island
static (Conn, error) DialTimeout(string network, string address, Duration dt)
// .NET Standard 2.0
static ValueTuple<Conn, error> DialTimeout(string network, string address, Duration dt)

 

// .NET, Island
static func DialTimeout(_ network: string, _ address: string, _ dt: Duration) -> (Conn, error)
// .NET Standard 2.0
static func DialTimeout(_ network: string, _ address: string, _ dt: Duration) -> ValueTuple<Conn, error>

 

// .NET, Island
func DialTimeout(network string, address string, dt Duration) (Conn, error)
// .NET Standard 2.0
func DialTimeout(network string, address string, dt Duration) ValueTuple<Conn, error>

Parameters:

  • network:
  • address:
  • dt:

FileListener

 

// .NET, Island
class method FileListener(f: Reference<File>): tuple of (Listener, error)
// .NET Standard 2.0
class method FileListener(f: Reference<File>): ValueTuple<Listener, error>

 

// .NET, Island
static (Listener, error) FileListener(Reference<File> f)
// .NET Standard 2.0
static ValueTuple<Listener, error> FileListener(Reference<File> f)

 

// .NET, Island
static func FileListener(_ f: Reference<File>) -> (Listener, error)
// .NET Standard 2.0
static func FileListener(_ f: Reference<File>) -> ValueTuple<Listener, error>

 

// .NET, Island
func FileListener(f Reference<File>) (Listener, error)
// .NET Standard 2.0
func FileListener(f Reference<File>) ValueTuple<Listener, error>

Parameters:

  • f:

IPv4

 

class method IPv4(a: byte; b: byte; c: byte; d: byte): IP

 

static IP IPv4(byte a, byte b, byte c, byte d)

 

static func IPv4(_ a: byte, _ b: byte, _ c: byte, _ d: byte) -> IP

 

func IPv4(a byte, b byte, c byte, d byte) IP

Parameters:

  • a:
  • b:
  • c:
  • d:

IPv4Mask

 

class method IPv4Mask(a: byte; b: byte; c: byte; d: byte): IPMask

 

static IPMask IPv4Mask(byte a, byte b, byte c, byte d)

 

static func IPv4Mask(_ a: byte, _ b: byte, _ c: byte, _ d: byte) -> IPMask

 

func IPv4Mask(a byte, b byte, c byte, d byte) IPMask

Parameters:

  • a:
  • b:
  • c:
  • d:

JoinHostPort

 

class method JoinHostPort(host: string; port: string): string

 

static string JoinHostPort(string host, string port)

 

static func JoinHostPort(_ host: string, _ port: string) -> string

 

func JoinHostPort(host string, port string) string

Parameters:

  • host:
  • port:

Listen

 

// .NET, Island
class method Listen(network: string; address: string): tuple of (Listener, error)
// .NET Standard 2.0
class method Listen(network: string; address: string): ValueTuple<Listener, error>

 

// .NET, Island
static (Listener, error) Listen(string network, string address)
// .NET Standard 2.0
static ValueTuple<Listener, error> Listen(string network, string address)

 

// .NET, Island
static func Listen(_ network: string, _ address: string) -> (Listener, error)
// .NET Standard 2.0
static func Listen(_ network: string, _ address: string) -> ValueTuple<Listener, error>

 

// .NET, Island
func Listen(network string, address string) (Listener, error)
// .NET Standard 2.0
func Listen(network string, address string) ValueTuple<Listener, error>

Parameters:

  • network:
  • address:

LookupIP

 

// .NET, Island
class method LookupIP(host: string): tuple of (Slice<IP>, error)
// .NET Standard 2.0
class method LookupIP(host: string): ValueTuple<Slice<IP>, error>

 

// .NET, Island
static (Slice<IP>, error) LookupIP(string host)
// .NET Standard 2.0
static ValueTuple<Slice<IP>, error> LookupIP(string host)

 

// .NET, Island
static func LookupIP(_ host: string) -> (Slice<IP>, error)
// .NET Standard 2.0
static func LookupIP(_ host: string) -> ValueTuple<Slice<IP>, error>

 

// .NET, Island
func LookupIP(host string) (Slice<IP>, error)
// .NET Standard 2.0
func LookupIP(host string) ValueTuple<Slice<IP>, error>

Parameters:

  • host:

ParseAddress

 

// .NET, Island
class method ParseAddress(s: string): tuple of (string, Int32)
// .NET Standard 2.0
class method ParseAddress(s: string): ValueTuple<string, Int32>

 

// .NET, Island
static (string, Int32) ParseAddress(string s)
// .NET Standard 2.0
static ValueTuple<string, Int32> ParseAddress(string s)

 

// .NET, Island
static func ParseAddress(_ s: string) -> (string, Int32)
// .NET Standard 2.0
static func ParseAddress(_ s: string) -> ValueTuple<string, Int32>

 

// .NET, Island
func ParseAddress(s string) (string, Int32)
// .NET Standard 2.0
func ParseAddress(s string) ValueTuple<string, Int32>

Parameters:

  • s:

ParseCIDR

 

// .NET, Island
class method ParseCIDR(s: string): tuple of (IP, Reference<IPNet>, error)
// .NET Standard 2.0
class method ParseCIDR(s: string): ValueTuple<IP, Reference<IPNet>, error>

 

// .NET, Island
static (IP, Reference<IPNet>, error) ParseCIDR(string s)
// .NET Standard 2.0
static ValueTuple<IP, Reference<IPNet>, error> ParseCIDR(string s)

 

// .NET, Island
static func ParseCIDR(_ s: string) -> (IP, Reference<IPNet>, error)
// .NET Standard 2.0
static func ParseCIDR(_ s: string) -> ValueTuple<IP, Reference<IPNet>, error>

 

// .NET, Island
func ParseCIDR(s string) (IP, Reference<IPNet>, error)
// .NET Standard 2.0
func ParseCIDR(s string) ValueTuple<IP, Reference<IPNet>, error>

Parameters:

  • s:

ParseIP

 

class method ParseIP(s: string): IP

 

static IP ParseIP(string s)

 

static func ParseIP(_ s: string) -> IP

 

func ParseIP(s string) IP

Parameters:

  • s:

ParseMAC

 

class method ParseMAC(s: string): tuple of (hw: HardwareAddr, err: error)

 

static (HardwareAddr hw, error err) ParseMAC(string s)

 

static func ParseMAC(_ s: string) -> (hw:HardwareAddr, err:error)

 

func ParseMAC(s string) (hw HardwareAddr, err error)

Parameters:

  • s:

SplitHostPort

 

class method SplitHostPort(hostport: string): tuple of (host: string, port: string, err: error)

 

static (string host, string port, error err) SplitHostPort(string hostport)

 

static func SplitHostPort(_ hostport: string) -> (host:string, port:string, err:error)

 

func SplitHostPort(hostport string) (host string, port string, err error)

Parameters:

  • hostport: