Android Socket create

Today, I wrote a demo program to test Android connect with PC.

 theSocket = new Socket("", 4444);

1. IP address must use this server's IP which is connected to the network, can't use
2. Attention! You must add uses-permission on the AndroidManifest.xml, the type of permission is "android.permission.INTERNET"


Popular posts from this blog


Drawing textured cube with Vulkan on Android

C++ unit testing & CI integration in GitHub (2/2)