NetUtilsMakeEndPoint Method |
Creates an
IPEndPoint from a host string and a port.
Namespace: LiteNetLibAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic 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
IPEndPointA new
IPEndPoint instance.
See Also