Conn

Overview

Location

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

Implemented in

Implements

Required Methods


Close

 

method Close: error

 

error Close()

 

func Close() -> error

 

func Close() error

 

Function Close() As error

LocalAddr

 

method LocalAddr: Addr

 

Addr LocalAddr()

 

func LocalAddr() -> Addr

 

func LocalAddr() Addr

 

Function LocalAddr() As Addr

Read

 

method Read(b: Slice<Byte>): tuple of (Int64, error)

 

(Int64, error) Read(Slice<Byte> b)

 

func Read(_ b: Slice<Byte>) -> (Int64, error)

 

func Read(b Slice<Byte>) (Int64, error)

 

Function Read(b As Slice<Byte>) As Tuple (Of Int64, error)

Parameters:

  • b:

RemoteAddr

 

method RemoteAddr: Addr

 

Addr RemoteAddr()

 

func RemoteAddr() -> Addr

 

func RemoteAddr() Addr

 

Function RemoteAddr() As Addr

SetDeadline

 

// .NET, .NET Standard 2.0
method SetDeadline(tt: Time): error
// Island
method SetDeadline(tt: Time): error

 

// .NET, .NET Standard 2.0
error SetDeadline(Time tt)
// Island
error SetDeadline(Time tt)

 

// .NET, .NET Standard 2.0
func SetDeadline(_ tt: Time) -> error
// Island
func SetDeadline(_ tt: Time) -> error

 

// .NET, .NET Standard 2.0
func SetDeadline(tt Time) error
// Island
func SetDeadline(tt Time) error

 

// .NET, .NET Standard 2.0
Function SetDeadline(tt As Time) As error
// Island
Function SetDeadline(tt As Time) As error

Parameters:

  • tt:

SetReadDeadline

 

// .NET, .NET Standard 2.0
method SetReadDeadline(tt: Time): error
// Island
method SetReadDeadline(tt: Time): error

 

// .NET, .NET Standard 2.0
error SetReadDeadline(Time tt)
// Island
error SetReadDeadline(Time tt)

 

// .NET, .NET Standard 2.0
func SetReadDeadline(_ tt: Time) -> error
// Island
func SetReadDeadline(_ tt: Time) -> error

 

// .NET, .NET Standard 2.0
func SetReadDeadline(tt Time) error
// Island
func SetReadDeadline(tt Time) error

 

// .NET, .NET Standard 2.0
Function SetReadDeadline(tt As Time) As error
// Island
Function SetReadDeadline(tt As Time) As error

Parameters:

  • tt:

SetWriteDeadline

 

// .NET, .NET Standard 2.0
method SetWriteDeadline(t: Time): error
// Island
method SetWriteDeadline(t: Time): error

 

// .NET, .NET Standard 2.0
error SetWriteDeadline(Time t)
// Island
error SetWriteDeadline(Time t)

 

// .NET, .NET Standard 2.0
func SetWriteDeadline(_ t: Time) -> error
// Island
func SetWriteDeadline(_ t: Time) -> error

 

// .NET, .NET Standard 2.0
func SetWriteDeadline(t Time) error
// Island
func SetWriteDeadline(t Time) error

 

// .NET, .NET Standard 2.0
Function SetWriteDeadline(t As Time) As error
// Island
Function SetWriteDeadline(t As Time) As error

Parameters:

  • t:

Write

 

method Write(b: Slice<Byte>): tuple of (Int64, error)

 

(Int64, error) Write(Slice<Byte> b)

 

func Write(_ b: Slice<Byte>) -> (Int64, error)

 

func Write(b Slice<Byte>) (Int64, error)

 

Function Write(b As Slice<Byte>) As Tuple (Of Int64, error)

Parameters:

  • b: