문제

I want to send/receive data (e.g. binary or strings) from my mobile Android device to a PC over a WiFi Router.

Is it the same way I send data over WiFi with a TCP socket connection?

So I send data out of my client (Android device) and listen at my server at the port I defined?

If I already programmed the WiFi TCP socket connection, do I have to add additional program code to send the data with 3G or UMTS if I disable WiFi?

Thanks!

Michael

도움이 되었습니까?

해결책

So it seems that there is no additional code necessary because the sockets are on a higher layer on the OSI-model than Wifi or 3G.

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