Hi all,
I'm working on a C++ app that needs to communicate with a server. I was wondering if it would be possible to use Java for the Server, and C++ for the Client. I'm assuming it should work (without the use of JNI) because TCP packets are TCP packets, I just have to make sure that both sides know about the packet structure.


Recommended Answers

All 3 Replies

I think it should work.

I can't speak about the C++ side, but Java TCP/IP is just plain old vanilla TCP/IP. I've had no problems using it to communicate with TCP/IP-based embedded systems that certainly are not Java.

Awesome. I was hoping that was the case. Thanks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.