Peer-to-Peer Communication HolePunching (Android)
问题 I am working on an app that uses peer-to-peer communication between Android devices. It receives and delivers JSON data and the data never goes through the server ever. The server is only used to keep track of user IDs, login times, IP changes, and other stuff. This app will use sockets for communication. Requirements JSON data goes directly to an Android device from another Android device without going through server. The android devices can be connected to any kind network like 3G or Wi-Fi