?
Solved

Difference between Java socket programming and C++ socket programming?

Posted on 2009-04-30
2
Medium Priority
?
515 Views
Last Modified: 2012-05-06
Could anyone give me a brief overview of the difference in TCP/IP socket progamming between Java and C++? C++ is good for TCP/IP socket programming, it has send() and recv()  to send and receive data via socket.

But in java, seems there is no such send and recv actions? Seems it's done through Open an input stream and output stream to the socket?

Thanks a lot for any detailed explanation (or links).
0
Comment
Question by:heyday2004
  • 2
2 Comments
 
LVL 92

Accepted Solution

by:
objects earned 2000 total points
ID: 24267597
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month16 days, 17 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question