sendUDPMessage – Talk

From Bohemia Interactive Community
Revision as of 22:48, 29 March 2013 by HeliJunkie (talk | contribs)
Jump to navigation Jump to search

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)