TcpListener Class
Namespace: System.Net.Sockets · Assembly: GHIElectronics.TinyCLR.Networking
No description available.
public class TcpListener
Constructors
TcpListener(IPEndPoint localEP)
public TcpListener(IPEndPoint localEP)
No description available.
| Parameter | Type | Description |
|---|---|---|
localEP | IPEndPoint |
TcpListener(IPAddress localaddr, int port)
public TcpListener(IPAddress localaddr, int port) : this(new IPEndPoint(localaddr, port))
No description available.
| Parameter | Type | Description |
|---|---|---|
localaddr | IPAddress | |
port | int |
Properties
Server
public Socket Server { get; }
Gets the name of the server that sent the response. (inherited)
Active
protected bool Active { get; }
No description available.
LocalEndpoint
public EndPoint LocalEndpoint { get; }
No description available.
Methods
Start()
public void Start()
Starts the timer. (inherited)
Start(int backlog)
public void Start(int backlog)
No description available.
| Parameter | Type | Description |
|---|---|---|
backlog | int |
Stop()
public void Stop()
Stops the timer. (inherited)
Pending()
public bool Pending()
No description available.
Returns bool
AcceptSocket()
public Socket AcceptSocket()
No description available.
Returns Socket
AcceptTcpClient()
public TcpClient AcceptTcpClient()
No description available.
Returns TcpClient
Create(int port)
public static TcpListener Create(int port)
Creates a WebRequest . (inherited)
| Parameter | Type | Description |
|---|---|---|
port | int |
Returns TcpListener