문제

I'm trying to create an android application that communicates with vb.net, this communication may be by wi-fi, but the tutorials on the internet always mention sockets, could someone explain me how communication via socket works?

도움이 되었습니까?

해결책

First you need to connect both devices and get their IP address. Then select a port number (a random number larger than 1000 and smaller than 65535 if you don't have preference). Then create sockets on both ends with the port number, and send packets to the counterpart with its IP/port number. That's it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top