class · System.Net
TcpListener
public class System.Net.TcpListener : System.Any
Accepts TCP connections on a port (0: one the system picks; see Port).
- Kind
- class
- Namespace
- System.Net
- Assembly
- System.Core
- Access
- public, final
- Source file
Net.ant
Inheritance
- Base classes
-
AnyTcpListener
Constructors
Properties
Methods
method Accept() -> System.Net.TcpClient
#
Waits for the next connection.
method Close() -> void
#
Private and internal members (5)
Inherited members (5)
GetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
TcpListener as Larva HIR, decompiled from its 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
}