inetaddress Questions

2

I am trying get the fully qualified name of my machine (Windows 7 x64) in Java. On my machine, I've updated the c:\Windows\system32\drivers\etc\hosts file such that it has an entry like this: 10.4...
Downrange asked 18/5, 2011 at 18:20

2

Solved

In my program a user enters a url string, say http://www.engineering.uiowa.edu/~hawkeng//fall01/graphics/potato.gif how would I get the IP address of this url? I tried using InetAddress address...
Bevatron asked 15/2, 2012 at 1:49

3

Solved

In that program I want to increment IP address. And I see output like that: 125.23.45.67 126.23.45.67 127.23.45.67 128.23.45.67 129.23.45.67 130.23.45.67 131.23.45.67 132.23.45.67 133.23.45.67 13...
Kendo asked 19/7, 2011 at 7:8

2

Solved

Possible Duplicate: Is there an easy way to convert String to Inetaddress in Java? I'm trying to convert a string(representing an IP address, e.g. 10.0.2.50) into an InetAddress obj. ...
Gerrygerrymander asked 6/4, 2011 at 19:15

3

Solved

I have a Java application that needs to connect via sockets to two different servers on two separate machines. One server has been configured to listen on IPv4 connections, while the other has been...
Paradiddle asked 4/10, 2010 at 7:18

2

Solved

Should I use binary(16) or varbinary(16)? I know I can use getAddress() in java.net.InetAddress (Java) or System.Net.IPAddress (C#) to get a byte[] representation of both IPv4 and IPv6, but if I n...
Travers asked 24/8, 2010 at 23:52

© 2022 - 2024 — McMap. All rights reserved.