Application - Direct file sharing over Wifi in and

2019-07-24 18:52发布

问题:

I want to make an application that, when running on 2 different android phones over the same Wifi network, allows them to share files directly (not via internet). But i am stuck where to start from. Keywords of techniques and why they could be required would be much appreciated. Thanks in advance

回答1:

Here you can find the example of android direct file sharing over wifi network

Click here



回答2:

you can start with multicast socket with TCP or UDP protocol.

try this link MulticastSocket



标签: android wifi p2p