Почему сокет UDP работал бы хорошо на Wi-Fi, но не в сети ячейки?

когда Вы пытаетесь выполнить выполненную вершину; каково сообщение, которое это выложило? скопируйте и вставьте то сообщение здесь.. таким образом, мы можем изучить его и предоставить Вам результат.

0
задан 16 October 2011 в 20:47
1 ответ

Cellular network providers do some strange things with their traffic shaping policies. I'm willing to wager that they're dropping UDP. I know that some networks, and providers have a transparent proxy between your handset and the network that do some "naughty" rewriting things to packets. Sometimes they rewrite packets and spoof the TCP handshake so that things appear to load quicker.

In this case, I'll bet that they're dropping that traffic silently. There's probably bugger all you can do about it. When I'm writing android apps, I go out of my way to make sure that all connectivity back to a host is over HTTP in the form of a RESTful API, so that it looks, to most intents and purposes like a normal web connection.

0
ответ дан 5 December 2019 в 16:53

Теги

Похожие вопросы