Click or drag to resize

NetPeerConnect Method (IPEndPoint, NetOutgoingMessage)

Create a connection to a remote endpoint

Namespace:  Internal.Lidgren.Network
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public virtual NetConnection Connect(
	IPEndPoint remoteEndPoint,
	NetOutgoingMessage hailMessage
)

Parameters

remoteEndPoint
Type: System.NetIPEndPoint
hailMessage
Type: Internal.Lidgren.NetworkNetOutgoingMessage

Return Value

Type: NetConnection
See Also