TCPListener

Overview

Location

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


Instance Methods


constructor

 

// .NET, .NET Standard 2.0
constructor(aSock: Socket)
// Island
constructor(aSock: Socket)

 

// .NET, .NET Standard 2.0
TCPListener(Socket aSock)
// Island
TCPListener(Socket aSock)

 

// .NET, .NET Standard 2.0
init(_ aSock: Socket)
// Island
init(_ aSock: Socket)

 

// .NET, .NET Standard 2.0
Sub New(aSock As Socket)
// Island
Sub New(aSock As Socket)

Parameters:

  • aSock:

Accept

 

method Accept: tuple of (Conn, error)

 

(Conn, error) Accept()

 

func Accept() -> (Conn, error)

 

func Accept() tuple of (Conn, error)

 

Function Accept() As Tuple (Of Conn, error)

AcceptTCP

 

method AcceptTCP: tuple of (IPConn, error)

 

(IPConn, error) AcceptTCP()

 

func AcceptTCP() -> (IPConn, error)

 

func AcceptTCP() tuple of (IPConn, error)

 

Function AcceptTCP() As Tuple (Of IPConn, error)

Addr

 

method Addr: Addr

 

Addr Addr()

 

func Addr() -> Addr

 

func Addr() Addr

 

Function Addr() As Addr

Close

 

method Close: error

 

error Close()

 

func Close() -> error

 

func Close() error

 

Function Close() As error