I was wondering whether networking is easier in Java or C++. Because I know in Java networking with sockets and such is incredibly easy, such as doing the following:
Socket s= new Socket();
s.connect(new SocketAddress("localhost",8888));
and if it is significantly harder in C++ that heavily influences my decision. Thanks in advance!
Building working socket code in Java is easier than in C++. Building “good” socket code in either depends more on the developer’s experience and skill than on the language. C++ has Boost.Asio that makes this a bit easier.