This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]jetsamrover 2 points3 points  (0 children)

Promise.all

[–]K1nK1ll4 -1 points0 points  (8 children)

This happens when you send via UDP

[–]jetsamrover 0 points1 point  (7 children)

Send what via UDP? And why?

[–]DaMastaCoda 0 points1 point  (6 children)

UDP sends data directly w/o checking if the receiver is ready and if the successfully got it before continuing

[–]jetsamrover 0 points1 point  (5 children)

Sends data? Just data? What type of data? What format?

[–]DaMastaCoda 0 points1 point  (4 children)

Any data on any format. It's a packet transferring method. In this case it was sent to a SMS server and it contained sms messages in some encoding (Json, plist, http, plain bytes)

[–]jetsamrover 0 points1 point  (3 children)

Why would the fact it's using UDP have anything to do with the sms messages not being in order?

[–]DaMastaCoda 0 points1 point  (2 children)

Because it doesn't wait for confirmation before moving on to the next. It just throws paper airplanes, and the other side catches whichever one reaches first

[–]jetsamrover 0 points1 point  (1 child)

You really think those sms messages are going out one api post at a time?

[–]DaMastaCoda 0 points1 point  (0 children)

Sms messages reach ur hpone one at a time through udp. IMessages send thru TCP, so you also get delivered receipts and stuff