Lidgren Network Library documentation |
NetServer..::..SendToAll Method (NetOutgoingMessage, NetConnection, NetDeliveryMethod, Int32) |
NetServer Class See Also Send Feedback |
Send a message to all connections except one
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
C# |
---|
public void SendToAll( NetOutgoingMessage msg, NetConnection except, NetDeliveryMethod method, int sequenceChannel ) |
Visual Basic |
---|
Public Sub SendToAll ( _ msg As NetOutgoingMessage, _ except As NetConnection, _ method As NetDeliveryMethod, _ sequenceChannel As Integer _ ) |
Visual C++ |
---|
public: void SendToAll( NetOutgoingMessage^ msg, NetConnection^ except, NetDeliveryMethod method, int sequenceChannel ) |
Parameters
- msg
- Type: Lidgren.Network..::..NetOutgoingMessage
The message to send
- except
- Type: Lidgren.Network..::..NetConnection
Don't send to this particular connection
- method
- Type: Lidgren.Network..::..NetDeliveryMethod
How to deliver the message
- sequenceChannel
- Type: System..::..Int32
Which sequence channel to use for the message