Search code examples
javaandroidsocketchannel

can we use java socketchannel to communicate with c based TCP server


can we use socketchannel to communicate with c++ based TCP server


Solution

  • Yes you can.. Just pass the correct IP and port number in the socket constructor.