Lidgren Network Library documentation |
NetServer..::..SendToAll Method (NetOutgoingMessage, NetDeliveryMethod) |
NetServer Class See Also Send Feedback |
Send a message to all connections
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, NetDeliveryMethod method ) |
Visual Basic |
---|
Public Sub SendToAll ( _ msg As NetOutgoingMessage, _ method As NetDeliveryMethod _ ) |
Visual C++ |
---|
public: void SendToAll( NetOutgoingMessage^ msg, NetDeliveryMethod method ) |
Parameters
- msg
- Type: Lidgren.Network..::..NetOutgoingMessage
The message to send
- method
- Type: Lidgren.Network..::..NetDeliveryMethod
How to deliver the message