Click or drag to resize

NetUtilsMakeEndPoint Method

Creates an IPEndPoint from a host string and a port.

Namespace: LiteNetLib
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public static IPEndPoint MakeEndPoint(
	string hostStr,
	int port
)

Parameters

hostStr  String
The host name or IP address string to resolve.
port  Int32
The port number for the endpoint.

Return Value

IPEndPoint
A new IPEndPoint instance.
See Also