This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Support for IPv6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Support for IPv6" Watch "Support for IPv6" New topic
Author

Support for IPv6

john price
Ranch Hand

Joined: Feb 24, 2011
Posts: 495

I know Java supports IPv6. Could you give me a simple sample app (server + client) that uses IPv4, and the same one ported to IPv6. Do you even have to change anything? Was just wondering since we will run out of IPv4 addresses sometime this or next year.

Thanks,
John Price


“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Support for IPv6