Home arrow static arrow Java Programming [Archive] - C++ vs java
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - C++ vs java
10 Duke Stars available
This topic has 4 replies on 1 page.

Posts:2
Registered: 8/3/04
C++ vs java  
Aug 3, 2004 3:05 AM



 
i have a problem how to communicate 2 language using c++ and java. i have a server running on java and client that running on c++. can both client and server communicate each other (using socket programming). if can how?? somebody have any idea??
 

Posts:5,965
Registered: 5/17/03
Re: C++ vs java  
Aug 3, 2004 3:15 AM (reply 1 of 4)



 
somebody have any idea??

It shouldn't matter what languages are used. The programs are just passing data. It's like they're writing/reading from a file.
 

Posts:5,965
Registered: 5/17/03
Re: C++ vs java  
Aug 3, 2004 3:18 AM (reply 2 of 4)



 
Monitor what's beeing sent and what's beeing recieved. It should be the same byte stream. Try to pass just one byte, and then two.
 

Posts:319
Registered: 11/8/00
Re: C++ vs java  
Aug 3, 2004 3:19 AM (reply 3 of 4)



 
yes, opening a ServerSocket in java will allow a C++ client to connect to it.
 

Posts:2,830
Registered: 9/1/03
Re: C++ vs java  
Aug 3, 2004 3:32 AM (reply 4 of 4)



 
i have a problem how to communicate 2 language using
c++ and java. i have a server running on java and
client that running on c++. can both client and server
communicate each other (using socket programming). if
can how?? somebody have any idea??

how can you not figure out this stuff on your own ?

incapable of searching? incapable of thinking? ffs.
 
This topic has 4 replies on 1 page.