Global
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.net
- Platforms: .NET, .NET Standard 2.0, Island
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
Shared Function CIDRMask(ones As int, bits As int) As IPMask
Parameters:
- ones:
- bits:
Dial
class method Dial(network: string; address: string): tuple of (Conn, error)
static (Conn, error) Dial(string network, string address)
static func Dial(_ network: string, _ address: string) -> tuple of (Conn, error)
func Dial(network string, address string) tuple of (Conn, error)
Shared Function Dial(network As string, address As string) As Tuple (Of Conn, error)
Parameters:
- network:
- address:
DialTimeout
class method DialTimeout(network: string; address: string; dt: Duration): tuple of (Conn, error)
static (Conn, error) DialTimeout(string network, string address, Duration dt)
static func DialTimeout(_ network: string, _ address: string, _ dt: Duration) -> tuple of (Conn, error)
func DialTimeout(network string, address string, dt Duration) tuple of (Conn, error)
Shared Function DialTimeout(network As string, address As string, dt As Duration) As Tuple (Of Conn, error)
Parameters:
- network:
- address:
- dt:
ErrWriteToConnected
class var ErrWriteToConnected: error;
static error ErrWriteToConnected
static var ErrWriteToConnected: error
ErrWriteToConnected error
Shared FIELD ErrWriteToConnected() As error
FileListener
class method FileListener(f: Memory<File>): tuple of (Listener, error)
static (Listener, error) FileListener(Memory<File> f)
static func FileListener(_ f: Memory<File>) -> tuple of (Listener, error)
func FileListener(f Memory<File>) tuple of (Listener, error)
Shared Function FileListener(f As Memory<File>) As Tuple (Of Listener, error)
Parameters:
- f:
FlagBroadcast
const FlagBroadcast: Flags = 2
const Flags FlagBroadcast = 2
static let FlagBroadcast: Flags = 2
const FlagBroadcast Flags = 2
Const FlagBroadcast As Flags = 2
FlagLoopback
const FlagLoopback: Flags = 4
const Flags FlagLoopback = 4
static let FlagLoopback: Flags = 4
const FlagLoopback Flags = 4
Const FlagLoopback As Flags = 4
FlagMulticast
const FlagMulticast: Flags = 16
const Flags FlagMulticast = 16
static let FlagMulticast: Flags = 16
const FlagMulticast Flags = 16
Const FlagMulticast As Flags = 16
FlagPointToPoint
const FlagPointToPoint: Flags = 8
const Flags FlagPointToPoint = 8
static let FlagPointToPoint: Flags = 8
const FlagPointToPoint Flags = 8
Const FlagPointToPoint As Flags = 8
FlagUp
const FlagUp: Flags = 1
const Flags FlagUp = 1
static let FlagUp: Flags = 1
const FlagUp Flags = 1
Const FlagUp As 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
Shared Function IPv4(a As byte, b As byte, c As byte, d As byte) As IP
Parameters:
- a:
- b:
- c:
- d:
IPv4allrouter
class var IPv4allrouter: IP;
static IP IPv4allrouter
static var IPv4allrouter: IP
IPv4allrouter IP
Shared FIELD IPv4allrouter() As IP
IPv4allsys
class var IPv4allsys: IP;
static IP IPv4allsys
static var IPv4allsys: IP
IPv4allsys IP
Shared FIELD IPv4allsys() As IP
IPv4bcast
class var IPv4bcast: IP;
static IP IPv4bcast
static var IPv4bcast: IP
IPv4bcast IP
Shared FIELD IPv4bcast() As IP
IPv4len
const IPv4len: Int64 = 4
const Int64 IPv4len = 4
static let IPv4len: Int64 = 4
const IPv4len Int64 = 4
Const IPv4len As 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
Shared Function IPv4Mask(a As byte, b As byte, c As byte, d As byte) As IPMask
Parameters:
- a:
- b:
- c:
- d:
IPv4zero
class var IPv4zero: IP;
static IP IPv4zero
static var IPv4zero: IP
IPv4zero IP
Shared FIELD IPv4zero() As IP
IPv6interfacelocalallnodes
class var IPv6interfacelocalallnodes: IP;
static IP IPv6interfacelocalallnodes
static var IPv6interfacelocalallnodes: IP
IPv6interfacelocalallnodes IP
Shared FIELD IPv6interfacelocalallnodes() As IP
IPv6len
const IPv6len: Int64 = 16
const Int64 IPv6len = 16
static let IPv6len: Int64 = 16
const IPv6len Int64 = 16
Const IPv6len As Int64 = 16
IPv6linklocalallnodes
class var IPv6linklocalallnodes: IP;
static IP IPv6linklocalallnodes
static var IPv6linklocalallnodes: IP
IPv6linklocalallnodes IP
Shared FIELD IPv6linklocalallnodes() As IP
IPv6linklocalallrouters
class var IPv6linklocalallrouters: IP;
static IP IPv6linklocalallrouters
static var IPv6linklocalallrouters: IP
IPv6linklocalallrouters IP
Shared FIELD IPv6linklocalallrouters() As IP
IPv6loopback
class var IPv6loopback: IP;
static IP IPv6loopback
static var IPv6loopback: IP
IPv6loopback IP
Shared FIELD IPv6loopback() As IP
IPv6unspecified
class var IPv6unspecified: IP;
static IP IPv6unspecified
static var IPv6unspecified: IP
IPv6unspecified IP
Shared FIELD IPv6unspecified() As IP
IPv6zero
class var IPv6zero: IP;
static IP IPv6zero
static var IPv6zero: IP
IPv6zero IP
Shared FIELD IPv6zero() As 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
Shared Function JoinHostPort(host As string, port As string) As string
Parameters:
- host:
- port:
Listen
class method Listen(network: string; address: string): tuple of (Listener, error)
static (Listener, error) Listen(string network, string address)
static func Listen(_ network: string, _ address: string) -> tuple of (Listener, error)
func Listen(network string, address string) tuple of (Listener, error)
Shared Function Listen(network As string, address As string) As Tuple (Of Listener, error)
Parameters:
- network:
- address:
LookupIP
class method LookupIP(host: string): tuple of (Slice<IP>, error)
static (Slice<IP>, error) LookupIP(string host)
static func LookupIP(_ host: string) -> tuple of (Slice<IP>, error)
func LookupIP(host string) tuple of (Slice<IP>, error)
Shared Function LookupIP(host As string) As Tuple (Of Slice<IP>, error)
Parameters:
- host:
ParseAddress
class method ParseAddress(s: string): tuple of (string, Int32)
static (string, Int32) ParseAddress(string s)
static func ParseAddress(_ s: string) -> tuple of (string, Int32)
func ParseAddress(s string) tuple of (string, Int32)
Shared Function ParseAddress(s As string) As Tuple (Of string, Int32)
Parameters:
- s:
ParseCIDR
class method ParseCIDR(s: string): tuple of (IP, Memory<IPNet>, error)
static (IP, Memory<IPNet>, error) ParseCIDR(string s)
static func ParseCIDR(_ s: string) -> tuple of (IP, Memory<IPNet>, error)
func ParseCIDR(s string) tuple of (IP, Memory<IPNet>, error)
Shared Function ParseCIDR(s As string) As Tuple (Of IP, Memory<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
Shared Function ParseIP(s As string) As 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) -> tuple of (HardwareAddr, error)
func ParseMAC(s string) tuple of (|name=hw| HardwareAddr, |name=err| error)
Shared Function ParseMAC(s As string) As Tuple (Of HardwareAddr, 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) -> tuple of (string, string, error)
func SplitHostPort(hostport string) tuple of (|name=host| string, |name=port| string, |name=err| error)
Shared Function SplitHostPort(hostport As string) As Tuple (Of string, string, error)
Parameters:
- hostport:
FlagBroadcast
const FlagBroadcast: Flags = 2
const Flags FlagBroadcast = 2
static let FlagBroadcast: Flags = 2
const FlagBroadcast Flags = 2
Const FlagBroadcast As Flags = 2
FlagLoopback
const FlagLoopback: Flags = 4
const Flags FlagLoopback = 4
static let FlagLoopback: Flags = 4
const FlagLoopback Flags = 4
Const FlagLoopback As Flags = 4
FlagMulticast
const FlagMulticast: Flags = 16
const Flags FlagMulticast = 16
static let FlagMulticast: Flags = 16
const FlagMulticast Flags = 16
Const FlagMulticast As Flags = 16
FlagPointToPoint
const FlagPointToPoint: Flags = 8
const Flags FlagPointToPoint = 8
static let FlagPointToPoint: Flags = 8
const FlagPointToPoint Flags = 8
Const FlagPointToPoint As Flags = 8
FlagUp
const FlagUp: Flags = 1
const Flags FlagUp = 1
static let FlagUp: Flags = 1
const FlagUp Flags = 1
Const FlagUp As Flags = 1
IPv4len
const IPv4len: Int64 = 4
const Int64 IPv4len = 4
static let IPv4len: Int64 = 4
const IPv4len Int64 = 4
Const IPv4len As Int64 = 4
IPv6len
const IPv6len: Int64 = 16
const Int64 IPv6len = 16
static let IPv6len: Int64 = 16
const IPv6len Int64 = 16
Const IPv6len As Int64 = 16
ErrWriteToConnected
class var ErrWriteToConnected: error;
static error ErrWriteToConnected
static var ErrWriteToConnected: error
ErrWriteToConnected error
Shared FIELD ErrWriteToConnected() As error
IPv4allrouter
class var IPv4allrouter: IP;
static IP IPv4allrouter
static var IPv4allrouter: IP
IPv4allrouter IP
Shared FIELD IPv4allrouter() As IP
IPv4allsys
class var IPv4allsys: IP;
static IP IPv4allsys
static var IPv4allsys: IP
IPv4allsys IP
Shared FIELD IPv4allsys() As IP
IPv4bcast
class var IPv4bcast: IP;
static IP IPv4bcast
static var IPv4bcast: IP
IPv4bcast IP
Shared FIELD IPv4bcast() As IP
IPv4zero
class var IPv4zero: IP;
static IP IPv4zero
static var IPv4zero: IP
IPv4zero IP
Shared FIELD IPv4zero() As IP
IPv6interfacelocalallnodes
class var IPv6interfacelocalallnodes: IP;
static IP IPv6interfacelocalallnodes
static var IPv6interfacelocalallnodes: IP
IPv6interfacelocalallnodes IP
Shared FIELD IPv6interfacelocalallnodes() As IP
IPv6linklocalallnodes
class var IPv6linklocalallnodes: IP;
static IP IPv6linklocalallnodes
static var IPv6linklocalallnodes: IP
IPv6linklocalallnodes IP
Shared FIELD IPv6linklocalallnodes() As IP
IPv6linklocalallrouters
class var IPv6linklocalallrouters: IP;
static IP IPv6linklocalallrouters
static var IPv6linklocalallrouters: IP
IPv6linklocalallrouters IP
Shared FIELD IPv6linklocalallrouters() As IP
IPv6loopback
class var IPv6loopback: IP;
static IP IPv6loopback
static var IPv6loopback: IP
IPv6loopback IP
Shared FIELD IPv6loopback() As IP
IPv6unspecified
class var IPv6unspecified: IP;
static IP IPv6unspecified
static var IPv6unspecified: IP
IPv6unspecified IP
Shared FIELD IPv6unspecified() As IP
IPv6zero
class var IPv6zero: IP;
static IP IPv6zero
static var IPv6zero: IP
IPv6zero IP
Shared FIELD IPv6zero() As 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
Shared Function CIDRMask(ones As int, bits As int) As IPMask
Parameters:
- ones:
- bits:
Dial
class method Dial(network: string; address: string): tuple of (Conn, error)
static (Conn, error) Dial(string network, string address)
static func Dial(_ network: string, _ address: string) -> tuple of (Conn, error)
func Dial(network string, address string) tuple of (Conn, error)
Shared Function Dial(network As string, address As string) As Tuple (Of Conn, error)
Parameters:
- network:
- address:
DialTimeout
class method DialTimeout(network: string; address: string; dt: Duration): tuple of (Conn, error)
static (Conn, error) DialTimeout(string network, string address, Duration dt)
static func DialTimeout(_ network: string, _ address: string, _ dt: Duration) -> tuple of (Conn, error)
func DialTimeout(network string, address string, dt Duration) tuple of (Conn, error)
Shared Function DialTimeout(network As string, address As string, dt As Duration) As Tuple (Of Conn, error)
Parameters:
- network:
- address:
- dt:
FileListener
class method FileListener(f: Memory<File>): tuple of (Listener, error)
static (Listener, error) FileListener(Memory<File> f)
static func FileListener(_ f: Memory<File>) -> tuple of (Listener, error)
func FileListener(f Memory<File>) tuple of (Listener, error)
Shared Function FileListener(f As Memory<File>) As Tuple (Of 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
Shared Function IPv4(a As byte, b As byte, c As byte, d As byte) As 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
Shared Function IPv4Mask(a As byte, b As byte, c As byte, d As byte) As 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
Shared Function JoinHostPort(host As string, port As string) As string
Parameters:
- host:
- port:
Listen
class method Listen(network: string; address: string): tuple of (Listener, error)
static (Listener, error) Listen(string network, string address)
static func Listen(_ network: string, _ address: string) -> tuple of (Listener, error)
func Listen(network string, address string) tuple of (Listener, error)
Shared Function Listen(network As string, address As string) As Tuple (Of Listener, error)
Parameters:
- network:
- address:
LookupIP
class method LookupIP(host: string): tuple of (Slice<IP>, error)
static (Slice<IP>, error) LookupIP(string host)
static func LookupIP(_ host: string) -> tuple of (Slice<IP>, error)
func LookupIP(host string) tuple of (Slice<IP>, error)
Shared Function LookupIP(host As string) As Tuple (Of Slice<IP>, error)
Parameters:
- host:
ParseAddress
class method ParseAddress(s: string): tuple of (string, Int32)
static (string, Int32) ParseAddress(string s)
static func ParseAddress(_ s: string) -> tuple of (string, Int32)
func ParseAddress(s string) tuple of (string, Int32)
Shared Function ParseAddress(s As string) As Tuple (Of string, Int32)
Parameters:
- s:
ParseCIDR
class method ParseCIDR(s: string): tuple of (IP, Memory<IPNet>, error)
static (IP, Memory<IPNet>, error) ParseCIDR(string s)
static func ParseCIDR(_ s: string) -> tuple of (IP, Memory<IPNet>, error)
func ParseCIDR(s string) tuple of (IP, Memory<IPNet>, error)
Shared Function ParseCIDR(s As string) As Tuple (Of IP, Memory<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
Shared Function ParseIP(s As string) As 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) -> tuple of (HardwareAddr, error)
func ParseMAC(s string) tuple of (|name=hw| HardwareAddr, |name=err| error)
Shared Function ParseMAC(s As string) As Tuple (Of HardwareAddr, 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) -> tuple of (string, string, error)
func SplitHostPort(hostport string) tuple of (|name=host| string, |name=port| string, |name=err| error)
Shared Function SplitHostPort(hostport As string) As Tuple (Of string, string, error)
Parameters:
- hostport: