Click or drag to resize

NetPeerRegisterReceivedCallback Method

Call this to register a callback for when a new message arrives

Namespace:  Internal.Lidgren.Network
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public void RegisterReceivedCallback(
	SendOrPostCallback callback,
	SynchronizationContext syncContext = null
)

Parameters

callback
Type: System.ThreadingSendOrPostCallback
syncContext (Optional)
Type: System.ThreadingSynchronizationContext
See Also