File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes Java's network programming power (simple question) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Java Watch "Java New topic
Author

Java's network programming power (simple question)

Bobby Sharma
Ranch Hand

Joined: Mar 18, 2008
Posts: 550
    
    1

I want to Java's power for network programming.
I saw many p2p program which is so power and secure and written in our
friend Java.
But I have little question.
Does Java has the same power as C++ in network programming?
[ April 11, 2008: Message edited by: omi sharma ]

Back to Java , again.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12681
    
    5
As a much newer language than C++, Java had Network programming in mind from the very beginning. You can see this in the java.net and java.io package design, for example. Sun Microsystem's slogan "the network is the computer" should tell you that.

In the standard library and a huge variety of open-source toolkits you will find a very large number of alternatives for network programming. Browse through the last few months of conversations in this forum for examples.

Bill


Java Resources at www.wbrogden.com
Bobby Sharma
Ranch Hand

Joined: Mar 18, 2008
Posts: 550
    
    1

You have explained a lot in very few words.
I have known what's your mean.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

On the other hand: the standard Java libraries provide access only to the TCP and UDP protocols. If you want to do lower level stuff (ICMP, ARP, any kind of direct IP packet fiddling), you have to resort to native code (i.e., C/C++ additions to Java).


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java's network programming power (simple question)
 
Similar Threads
The difference - "Art of Java"
What is the book to study the basics of Network Programming in Java
Reading Material
The art of java???
Using the net api