Hello Everyone,
Im a C/C++ developer with an exposure to socket programming in UNIX. Iam newbie to Java.I would like to implement client server interaction between C++ code(Server) to the Jave code(Client).
Since Im new to Java, I would be thankful to you guys if you can provide me some basic Java stuff (API's)/Links/Startups which might be helpful in achieving the above mentioned design.
Thanks in Advance,
./Satish_Robin
Socket interaction between C++ and Java Code
Started by satishkumar432, Jul 20 2009 06:19 AM
3 replies to this topic
#1
Posted 20 July 2009 - 06:19 AM
|
|
|
#2
Posted 20 July 2009 - 07:11 AM
Moved to the correct forum. You haven't really specified a "design", just a goal. There are a lot of subtle differences between Java and C++ that can mess you up. How well do you know Java?
#3
Posted 22 July 2009 - 01:10 AM
WingedPanther said:
Moved to the correct forum. You haven't really specified a "design", just a goal. There are a lot of subtle differences between Java and C++ that can mess you up. How well do you know Java?
Hi WingedPanther,
Thanks for moving it to the correct forum.I just started learning Java, I m a novice learner in it. The current design is, I have a C++ code on the LINUX machine which does some searching, I would like to fetch these search results from the linux box and display them onto a HTML page on a different windows machine. I would like to maintain the connectivity between these 2 machines b using SOCKETs. This is kind of an abstract design which currently I have.
Pls excuse if this expalination was not to the expectations .. :)
Regards,
./Satish_Robin
Edited by Orjan, 22 July 2009 - 01:32 AM.
Adding quotes
#4
Posted 22 July 2009 - 06:45 AM
For C++, the Boost library provides libraries for socket programming. Java has it built in. The real key will be deciding how you want to transfer the data between them (format). Also, will the C++ program that collects the data be acting as the server, or will collecting the data be separate from serving it (real-time vs non-real-time data).


Sign In
Create Account

Back to top









