class · System.Net
TcpListener
public class System.Net.TcpListener : System.Any
Accepts TCP connections on a port (0: one the system picks; see Port).
- Tipo
- class
- Espacio de nombres
- System.Net
- Ensamblado
- System.Core
- Acceso
- public, final
- Archivo fuente
Net.ant
Herencia
- Clases base
-
AnyTcpListener
Constructores
Propiedades
Métodos
method Accept() -> System.Net.TcpClient
#
Waits for the next connection.
method Close() -> void
#
Miembros privados e internos (5)
Miembros heredados (5)
GetTypemétodo de AnyUndescribedmétodo de AnyToStringmétodo de AnyHashmétodo de Anydestroymétodo de Any
Código fuente
TcpListener en Larva HIR, descompilado a partir de su Larva HIR.
// Accepts TCP connections on a port (0: one the system picks; see Port).
public class System.Net.TcpListener : System.Any
{
field handle: i64
static method ListenOn(port: i64) -> i64
static method AcceptOn(listener: i64) -> i64
static method PortOf(handle: i64) -> i64
static method CloseHandle(handle: i64) -> i64
constructor TcpListener(port: i32)
// Waits for the next connection.
method Accept() -> System.Net.TcpClient
method Close() -> void
// The port it listens on.
property Port: i32
}