Click or drag to resize

NetClientConnect Method (IPEndPoint, NetOutgoingMessage)

Connect to a remote server

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

Parameters

remoteEndPoint
Type: System.NetIPEndPoint
The remote endpoint to connect to
hailMessage
Type: Internal.Lidgren.NetworkNetOutgoingMessage
The hail message to pass

Return Value

Type: NetConnection
server connection, or null if already connected
See Also