标签: android sockets port wifimanager inet-socket
我想使用wifi打印机在我的Android应用程序中执行打印功能。为此,我做了以下。但我不知道如何获得端口号。i have refer the question asked before in which it tells that port number not required但如果没有端口号怎么办?
答案 0 :(得分:2)
WLAN未通过端口号连接。它只有一个IP地址。