The java.net Package
The mapping between the Java java.lang.reflect package and the corresponding .NET types is provided in Table F-9. See Chapter 14, for details of these .NET types.
Table F-9. The Java to .NET Mapping for the java.net Package
Java | .NET |
|---|---|
Authenticator | System.Net.AuthenticationManager |
ContentHandler | N/A |
DatagramPacket | N/A |
DatagramSocket | System.Net.Sockets.UdpClient |
DatagramSocketImpl | N/A |
HttpURLConnection | System.Net.WebClient System.Web.WebRequest System.Web.WebResponse |
Inet4Address | System.Net.IPAddress |
Inet6Address | System.Net.IPAddress |
InetAddress | System.Net.IPAddress |
InetSocketAddress | System.Net.IPEndPoint |
JarURLConnection | N/A |
MulticastSocket | System.Net.Sockets.UdpClient |
NetPermission | System.Net.SocketPermission System.Net.WebPermission |
NetworkInterface |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access