Android and C++ Socket Communication
<p>I'm developing an app to receive data from C++ program every second. The app also need to send data to C++ program sometimes. 
Is it suitable to use socket as communication between both instances?
For each instance, does it have to run socket server and client at the same time? </p>