Android Wifi Direct: How to send data from Group Owner to the clients?

别等时光非礼了梦想. 提交于 2019-12-01 00:36:00

Like Laszlo Magyar said, you need to sent an empty message to server first so that server can use client socket to get the incoming ip address.

My solution is to send an string to server from client so server CAN know the client's ip address, and the rest of process is the same.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!