Click or drag to resize

NetPeerSendMessage Method (NetOutgoingMessage, NetConnection, NetDeliveryMethod)

Send a message to a specific connection

Namespace:  Internal.Lidgren.Network
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public NetSendResult SendMessage(
	NetOutgoingMessage msg,
	NetConnection recipient,
	NetDeliveryMethod method
)

Parameters

msg
Type: Internal.Lidgren.NetworkNetOutgoingMessage
The message to send
recipient
Type: Internal.Lidgren.NetworkNetConnection
The recipient connection
method
Type: Internal.Lidgren.NetworkNetDeliveryMethod
How to deliver the message

Return Value

Type: NetSendResult
See Also