| Author |
Java's network programming power (simple question)
|
omi sharma
Ranch Hand
Joined: Mar 18, 2008
Posts: 489
|
|
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 ]
|
SCJP, OCA 9i application developer, SCWCD 5.
When I was in hell someone told me to get heaven you need to do Java.
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12267
|
|
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
|
 |
omi sharma
Ranch Hand
Joined: Mar 18, 2008
Posts: 489
|
|
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: 24050
|
|
|
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]
|
 |
 |
|
|
subject: Java's network programming power (simple question)
|
|
|