![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
![]() ![]() |
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