InetAddress « Socket « Java Network Q&A

Home
Java Network Q&A
1.API
2.bluetooth
3.Client
4.connection
5.Cookie
6.Development
7.Email
8.File
9.ftp
10.http
11.HttpClient
12.https
13.ip
14.Network
15.OS
16.RMI
17.Security
18.Server
19.Socket
20.tcp
21.UDP
22.url
Java Network Q&A » Socket » InetAddress 

1. Java: How can I get the connected port from an InetAddress?    stackoverflow.com

I'm trying to build a Java NIO-based socket server using Apache Mina. I really need to know the port of the remote host, not just the IP address, and it ...

2. Java application wanting to use both Inet4Address and Inet6Address at the same time    stackoverflow.com

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 ...

3. InetAddress!    coderanch.com

4. InetAddress "cache" reload    coderanch.com

Well, 2000+ lines would be a little extensive to post here, wouldn't it? However, a run down might look like this: public class Mailer { // graphic mail application using the main thread - upon // mail sending it calls it's own method "sendMail" private void sendMail() { Thread th = new Thread(new Sender()); th.start(); } private class Sender() implements Runnable ...

5. java.net.Inetaddress    coderanch.com

Hi! Friends, I am trying to write a net work management module , so, in a thread i m calling InetAddress.getByName("200.100.50.15"); wh9ich is on my intranet , so when it is on the n/w the code below shows it is on the network by printing it but as my thread is running and if this system goes out of n/w InetAddress.getByName("200.100.50.15"); ...

6. InetAddress    coderanch.com

7. inetaddress dns?    coderanch.com

Hi, I am in the process of writing a kind of a ping application. Essentially, given a range of ip addresses the application returns the host names associated with ip addresses that it can locate. 1) The problem is that the while the app does return host names for some ip addresses, it does not for others and just returns the ...

8. InetAddress class    coderanch.com

9. inetaddress problem    coderanch.com

10. Problem with InetAddress    coderanch.com

13. InetAddress puzzle: Windows and Linux    coderanch.com

If you check the JavaDoc on this method you can see the following: If there is a security manager, its checkConnect method is called with the local host name and -1 as its arguments to see if the operation is allowed. If the operation is not allowed, an InetAddress representing the loopback address is returned. It could very well be a ...

15. InetAddress initialization...    coderanch.com

16. InetAddress.getByName fails    coderanch.com

17. InetAddress.getLocalHost() execution time on Linux    coderanch.com

Hi, I need to get the ip of my machine, and noticed that InetAddress.getLocalHost() is slower than expected on my Fedora 12 machine. Each call takes between 30 and 100 milliseconds. However, the "hostname" command executes in 1 millisecond. Also, on my windows system, this is a lot faster. i have checked the /etc/hosts and also the /etc/nsswitch.conf points to the ...

18. InetAddress, Socket    coderanch.com

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.