Show / Hide Table of Contents

Class Host

Host (EndPoint Manager)

Inheritance
System.Object
Host
Namespace: Netly.Core
Assembly: Netly.Core.dll
Syntax
public class Host : object

Constructors

Host(EndPoint)

Create instance of (host)

Declaration
public Host(EndPoint endpoint)
Parameters
Type Name Description
EndPoint endpoint

EndPoint

Host(IPAddress, Int32)

Create instance of (host)

Declaration
public Host(IPAddress address, int port)
Parameters
Type Name Description
IPAddress address

IPAddress

System.Int32 port

Port

Host(IPEndPoint)

Create instance of (host)

Declaration
public Host(IPEndPoint endpoint)
Parameters
Type Name Description
IPEndPoint endpoint

IPEndPoint

Host(String, Int32)

Create instance of (host)

Declaration
public Host(string ip, int port)
Parameters
Type Name Description
System.String ip

IPAddress

System.Int32 port

Port

Properties

Address

Return IPAddress

Declaration
public IPAddress Address { get; }
Property Value
Type Description
IPAddress

AddressFamily

Return AddressFamily

Declaration
public AddressFamily AddressFamily { get; }
Property Value
Type Description
AddressFamily

EndPoint

Return EndPoint

Declaration
public EndPoint EndPoint { get; }
Property Value
Type Description
EndPoint

IPEndPoint

Return IPEndPoint

Declaration
public IPEndPoint IPEndPoint { get; }
Property Value
Type Description
IPEndPoint

Port

Return Port

Declaration
public int Port { get; }
Property Value
Type Description
System.Int32

Methods

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
In This Article
Back to top Generated by DocFX