Raw Sockets on Android

后端 未结 4 1085
囚心锁ツ
囚心锁ツ 2020-12-01 14:59

I want to create an application that runs on Android and uses Raw Sockets. I see there isn\'t any raw socket support in the java.net.* or the android.net.* libraries. Are

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-01 15:35

    Why not use Android interprocess comunication, like :

    AIDL, Intent, Broadcast etc

    See http://developer.android.com/guide/topics/fundamentals/services.html for example. They use internally raw sockets

提交回复
热议问题