This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes java and IP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "java and IP" Watch "java and IP" New topic
Author

java and IP

Jhedzkie Skies
Ranch Hand

Joined: Oct 28, 2009
Posts: 118
hi there.

is there a way to make java use only ipv4 and ignore ipv6?

instructions are pretty much appreciated.

thanks.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19656
    
  18

Moving to Sockets and Internet Protocols.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Sriraman Srinivasan
Greenhorn

Joined: Jul 08, 2010
Posts: 10
There are two jvm parameters which can be used... -Djava.net.preferIPv4Stack=true and -Djava.net.preferIPv6Addresses=false
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java and IP
 
Similar Threads
zipping as self extracting exe
J2EE
class
WA #2 ..... word association
c++ or Java--your suggestions please