IPConn

Overview

Location

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

Implements

Instance Methods


constructor (Socket) Island

 

constructor(aSock: Socket)

 

IPConn(Socket aSock)

 

init(_ aSock: Socket)

Parameters:

  • aSock:

constructor (Socket) .NET, .NET Standard 2.0

 

constructor(aSock: Socket)

 

IPConn(Socket aSock)

 

init(_ aSock: Socket)

Parameters:

  • aSock:

Close

 

method Close: error

 

error Close()

 

func Close() -> error

 

func Close() error

CloseRead

 

method CloseRead: error

 

error CloseRead()

 

func CloseRead() -> error

 

func CloseRead() error

CloseWrite

 

method CloseWrite: error

 

error CloseWrite()

 

func CloseWrite() -> error

 

func CloseWrite() error

File

 

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

 

// .NET, Island
(Reference<File>, error) File()
// .NET Standard 2.0
ValueTuple<Reference<File>, error> File()

 

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

 

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

LocalAddr

 

method LocalAddr: Addr

 

Addr LocalAddr()

 

func LocalAddr() -> Addr

 

func LocalAddr() Addr

Read

 

// .NET, Island
method Read(b: Slice<Byte>): tuple of (Int64, error)
// .NET Standard 2.0
method Read(b: Slice<Byte>): ValueTuple<Int64, error>

 

// .NET, Island
(Int64, error) Read(Slice<Byte> b)
// .NET Standard 2.0
ValueTuple<Int64, error> Read(Slice<Byte> b)

 

// .NET, Island
func Read(_ b: Slice<Byte>) -> (Int64, error)
// .NET Standard 2.0
func Read(_ b: Slice<Byte>) -> ValueTuple<Int64, error>

 

// .NET, Island
func Read(b Slice<Byte>) (Int64, error)
// .NET Standard 2.0
func Read(b Slice<Byte>) ValueTuple<Int64, error>

Parameters:

  • b:

ReadFrom

 

// .NET, Island
method ReadFrom(b: Slice<Byte>): tuple of (Int64, Addr, error)
// .NET Standard 2.0
method ReadFrom(b: Slice<Byte>): ValueTuple<Int64, Addr, error>

 

// .NET, Island
(Int64, Addr, error) ReadFrom(Slice<Byte> b)
// .NET Standard 2.0
ValueTuple<Int64, Addr, error> ReadFrom(Slice<Byte> b)

 

// .NET, Island
func ReadFrom(_ b: Slice<Byte>) -> (Int64, Addr, error)
// .NET Standard 2.0
func ReadFrom(_ b: Slice<Byte>) -> ValueTuple<Int64, Addr, error>

 

// .NET, Island
func ReadFrom(b Slice<Byte>) (Int64, Addr, error)
// .NET Standard 2.0
func ReadFrom(b Slice<Byte>) ValueTuple<Int64, Addr, error>

Parameters:

  • b:

ReadFromIP

 

// .NET, Island
method ReadFromIP(b: Slice<Byte>): tuple of (Int64, Reference<IPAddr>, error)
// .NET Standard 2.0
method ReadFromIP(b: Slice<Byte>): ValueTuple<Int64, Reference<IPAddr>, error>

 

// .NET, Island
(Int64, Reference<IPAddr>, error) ReadFromIP(Slice<Byte> b)
// .NET Standard 2.0
ValueTuple<Int64, Reference<IPAddr>, error> ReadFromIP(Slice<Byte> b)

 

// .NET, Island
func ReadFromIP(_ b: Slice<Byte>) -> (Int64, Reference<IPAddr>, error)
// .NET Standard 2.0
func ReadFromIP(_ b: Slice<Byte>) -> ValueTuple<Int64, Reference<IPAddr>, error>

 

// .NET, Island
func ReadFromIP(b Slice<Byte>) (Int64, Reference<IPAddr>, error)
// .NET Standard 2.0
func ReadFromIP(b Slice<Byte>) ValueTuple<Int64, Reference<IPAddr>, error>

Parameters:

  • b:

ReadFromUDP

 

// .NET, Island
method ReadFromUDP(b: Slice<Byte>): tuple of (Int64, Reference<UDPAddr>, error)
// .NET Standard 2.0
method ReadFromUDP(b: Slice<Byte>): ValueTuple<Int64, Reference<UDPAddr>, error>

 

// .NET, Island
(Int64, Reference<UDPAddr>, error) ReadFromUDP(Slice<Byte> b)
// .NET Standard 2.0
ValueTuple<Int64, Reference<UDPAddr>, error> ReadFromUDP(Slice<Byte> b)

 

// .NET, Island
func ReadFromUDP(_ b: Slice<Byte>) -> (Int64, Reference<UDPAddr>, error)
// .NET Standard 2.0
func ReadFromUDP(_ b: Slice<Byte>) -> ValueTuple<Int64, Reference<UDPAddr>, error>

 

// .NET, Island
func ReadFromUDP(b Slice<Byte>) (Int64, Reference<UDPAddr>, error)
// .NET Standard 2.0
func ReadFromUDP(b Slice<Byte>) ValueTuple<Int64, Reference<UDPAddr>, error>

Parameters:

  • b:

RemoteAddr

 

method RemoteAddr: Addr

 

Addr RemoteAddr()

 

func RemoteAddr() -> Addr

 

func RemoteAddr() Addr

SetDeadline

 

method SetDeadline(tt: Time): error

 

error SetDeadline(Time tt)

 

func SetDeadline(_ tt: Time) -> error

 

func SetDeadline(tt Time) error

Parameters:

  • tt:

SetKeepAlive

 

method SetKeepAlive(b: Boolean): error

 

error SetKeepAlive(Boolean b)

 

func SetKeepAlive(_ b: Boolean) -> error

 

func SetKeepAlive(b Boolean) error

Parameters:

  • b:

SetKeepAlivePeriod

 

method SetKeepAlivePeriod(d: Duration): error

 

error SetKeepAlivePeriod(Duration d)

 

func SetKeepAlivePeriod(_ d: Duration) -> error

 

func SetKeepAlivePeriod(d Duration) error

Parameters:

  • d:

SetLinger

 

method SetLinger(b: Int32): error

 

error SetLinger(Int32 b)

 

func SetLinger(_ b: Int32) -> error

 

func SetLinger(b Int32) error

Parameters:

  • b:

SetNoDelay

 

method SetNoDelay(b: Boolean): error

 

error SetNoDelay(Boolean b)

 

func SetNoDelay(_ b: Boolean) -> error

 

func SetNoDelay(b Boolean) error

Parameters:

  • b:

SetReadBuffer

 

method SetReadBuffer(bytes: int): error

 

error SetReadBuffer(int bytes)

 

func SetReadBuffer(_ bytes: int) -> error

 

func SetReadBuffer(bytes int) error

Parameters:

  • bytes:

SetReadDeadline

 

method SetReadDeadline(tt: Time): error

 

error SetReadDeadline(Time tt)

 

func SetReadDeadline(_ tt: Time) -> error

 

func SetReadDeadline(tt Time) error

Parameters:

  • tt:

SetWriteBuffer

 

method SetWriteBuffer(bytes: int): error

 

error SetWriteBuffer(int bytes)

 

func SetWriteBuffer(_ bytes: int) -> error

 

func SetWriteBuffer(bytes int) error

Parameters:

  • bytes:

SetWriteDeadline

 

method SetWriteDeadline(t: Time): error

 

error SetWriteDeadline(Time t)

 

func SetWriteDeadline(_ t: Time) -> error

 

func SetWriteDeadline(t Time) error

Parameters:

  • t:

SyscallConn

 

// .NET, Island
method SyscallConn: tuple of (RawConn, error)
// .NET Standard 2.0
method SyscallConn: ValueTuple<RawConn, error>

 

// .NET, Island
(RawConn, error) SyscallConn()
// .NET Standard 2.0
ValueTuple<RawConn, error> SyscallConn()

 

// .NET, Island
func SyscallConn() -> (RawConn, error)
// .NET Standard 2.0
func SyscallConn() -> ValueTuple<RawConn, error>

 

// .NET, Island
func SyscallConn() (RawConn, error)
// .NET Standard 2.0
func SyscallConn() ValueTuple<RawConn, error>

Write

 

// .NET, Island
method Write(b: Slice<Byte>): tuple of (Int64, error)
// .NET Standard 2.0
method Write(b: Slice<Byte>): ValueTuple<Int64, error>

 

// .NET, Island
(Int64, error) Write(Slice<Byte> b)
// .NET Standard 2.0
ValueTuple<Int64, error> Write(Slice<Byte> b)

 

// .NET, Island
func Write(_ b: Slice<Byte>) -> (Int64, error)
// .NET Standard 2.0
func Write(_ b: Slice<Byte>) -> ValueTuple<Int64, error>

 

// .NET, Island
func Write(b Slice<Byte>) (Int64, error)
// .NET Standard 2.0
func Write(b Slice<Byte>) ValueTuple<Int64, error>

Parameters:

  • b:

WriteTo

 

// .NET, Island
method WriteTo(b: Slice<Byte>; addr: Addr): tuple of (Int64, error)
// .NET Standard 2.0
method WriteTo(b: Slice<Byte>; addr: Addr): ValueTuple<Int64, error>

 

// .NET, Island
(Int64, error) WriteTo(Slice<Byte> b, Addr addr)
// .NET Standard 2.0
ValueTuple<Int64, error> WriteTo(Slice<Byte> b, Addr addr)

 

// .NET, Island
func WriteTo(_ b: Slice<Byte>, _ addr: Addr) -> (Int64, error)
// .NET Standard 2.0
func WriteTo(_ b: Slice<Byte>, _ addr: Addr) -> ValueTuple<Int64, error>

 

// .NET, Island
func WriteTo(b Slice<Byte>, addr Addr) (Int64, error)
// .NET Standard 2.0
func WriteTo(b Slice<Byte>, addr Addr) ValueTuple<Int64, error>

Parameters:

  • b:
  • addr: