sendUDPMessage – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Has anyone used this command with success? (A3 Alpha)<br />
Can't get it to work.<br />
Validated with "wireshark" that no UDP Package was send.<br />
<br />
Tried following formats:<br />
sendUDPMessage ["192.168.0.10",30001,"MyMessage"]<br />
sendUDPMessage [[192,168,0,10],30001,"MyMessage"]<br />
<br />
Tried them, because descriptions say ['''ip''',port,"Message"] and not ['''"ip"''',port,"message"].<br />
So I thought "ip" maybe integers in array format.<br />
<br />
So anyone was successfully ?
--[[User:HeliJunkie|HeliJunkie]] 22:48, 29 March 2013 (CET)
----
Think there is something wrong with the description.<br />
Think there is something wrong with the description.<br />
As far as I know:<br />
As far as I know:<br />

Revision as of 22:48, 29 March 2013

Has anyone used this command with success? (A3 Alpha)
Can't get it to work.
Validated with "wireshark" that no UDP Package was send.

Tried following formats:
sendUDPMessage ["192.168.0.10",30001,"MyMessage"]
sendUDPMessage [[192,168,0,10],30001,"MyMessage"]

Tried them, because descriptions say [ip,port,"Message"] and not ["ip",port,"message"].
So I thought "ip" maybe integers in array format.

So anyone was successfully ?

--HeliJunkie 22:48, 29 March 2013 (CET)



Think there is something wrong with the description.
As far as I know:
UDP protocol is connection less, so it can't verify, if the sender recieves the data.
The description says "Returns false if the message has not been delivered".
So this can't be the truth.
Maybe "Returns false if the message could not be send" will be more close to the truth?
--HeliJunkie 14:49, 17 December 2010 (CET)

I've to make some test more to confirm the return behavior, you can be right. I'll update the page as soon as I'll get a final result. Sorry for that I've got a lot of commands to add ATM... tom_48_97 14:52, 17 December 2010 (CET)