Is it possible to communicate between a java application and a c++ application though sockets??