sendUDPMessage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2oa |Game name=
| arma2oa |Game name=
Line 9: Line 8:




____________________________________________________________________________________________


| Send message to given address using UDP protocol. Returns false if the message has not been delivered  
| Send message to given address using UDP protocol. Returns false if the message has not been delivered  


Note: Not implemented (see talk page for more info).|DESCRIPTION=
Note: Not implemented (see talk page for more info).|DESCRIPTION=
____________________________________________________________________________________________


| '''sendUDPMessage''' [ip, port, message]|SYNTAX=
| '''sendUDPMessage''' [ip, port, message]|SYNTAX=
Line 23: Line 20:


| [[Boolean]] |RETURNVALUE=
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>_bool <nowiki>=</nowiki> '''sendUDPMessage''' ["192.168.0.1", 2302, "Here goes you message..."]; </code> |=  
|x1= <code>_bool <nowiki>=</nowiki> '''sendUDPMessage''' ["192.168.0.1", 2302, "Here goes you message..."]; </code> |=  
____________________________________________________________________________________________


| [[sendAUMessage]] |SEEALSO=
| [[sendAUMessage]] |SEEALSO=

Revision as of 02:31, 17 January 2021

Hover & click on the images for description

Description

Description:
Send message to given address using UDP protocol. Returns false if the message has not been delivered Note: Not implemented (see talk page for more info).
Groups:
Multiplayer

Syntax

Syntax:
sendUDPMessage [ip, port, message]
Parameters:
ip: String
port: Number
message: String
Return Value:
Boolean

Examples

Example 1:
_bool = sendUDPMessage ["192.168.0.1", 2302, "Here goes you message..."];

Additional Information

See also:
sendAUMessage

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section