Is there any way to determine the IP address of the socket used to create the HTTP connection when the class used to create the connection was HttpUrlConnection?
+1
A:
No, sorry, the HttpURLConnection is an abstract class. The actual connection is implemented in code provided by the JRE. As such, there are no methods that will give you access to the actual Socket used.
Devon_C_Miller
2009-09-17 17:20:55