android - 与 Linux 相比,Android 有任何网络限制吗?

标签 android linux networking linux-kernel

我刚刚在 "The Growth of Android in Embedded Systems" 中阅读了以下内容 (PDF)作者:Linux 基金会的 Benjamin Zores:

Last but not least, Android has deliberately hobbled one of Linux’s key assets when developing the networking and connectivity layer. The OS is unable to handle more than one network connection at a time, more than one device driver at a time (per connection type), and unable to handle more than one interface per connection type.

我找不到任何其他引用资料。这到底是什么意思?

最佳答案

Android 开发人员通过以下方式节省了时间和金钱:

  • 一次只允许一个网络连接到一个网络,例如您不能同时将 IP 流量路由到连接的 WiFi 网络和 3G 网络。
  • 在任何时间点,每种连接类型只允许一个网络设备驱动程序运行。因此,您可能有一个用于 3G 网络的驱动程序,另一个用于 WiFi 网络,另一个用于 USB 网络共享,但您不能同时加载两个单独的 WiFi 驱动程序。
  • 不支持单个物理网络的多个逻辑接口(interface)。在 Linux 中,您可能会将 eth0net0 指向同一个 NIC,但 Android 不支持这一点。

这些网络功能是桌面和服务器操作系统的基础,但在移动系统上被认为是不必要的,因此被牺牲了。

关于android - 与 Linux 相比,Android 有任何网络限制吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16172474/

相关文章:

java - 显示列表后如何删除方括号?

android - 同时在多个模拟器上启动 Android 应用程序

linux - 应用路径和监听端口

ios - Alamofire 网络 REST 调用抛出 SSL 错误(突然)

c - 用 C 检测网络事件

android - 谷歌分析 : tracking traffic from multiple devices

android - 如何在不与其他 View 冲突的情况下在布局中心对齐 textView?

node.js - 如何修复 : "TypeError: Cannot read property ' Id' of undefined"in NodeJS (TypeScript)

linux - 为 Linux 进程分配的堆栈内存在哪里?

java - RabbitMQ 发送对象