TCP/IP Sockets in Java

Get Started. It's Free
or sign up with your email address
TCP/IP Sockets in Java by Mind Map: TCP/IP Sockets  in Java

1. Classes

1.1. InetAddress

1.1.1. Inet4Address

1.1.1.1. Description

1.1.1.1.1. represents a IPv4 network destination

1.1.1.2. Methods

1.1.1.2.1. getHostAddress()

1.1.1.2.2. getAddress()

1.1.1.2.3. isReachable(int timeout)

1.1.2. Inet6Address

1.1.2.1. represents a IPv6 network destination

1.2. SocketAddress

1.3. NetworkInterface

1.3.1. Description

1.3.1.1. IP addresses assigned to this interface

1.3.2. Methods

1.3.2.1. getNetworkInterfaces

1.3.2.1.1. Returns all the interfaces on this machine.

1.3.2.1.2. static Enumeration<NetworkInterface>

1.3.2.2. getName

1.3.2.2.1. Get the name of this network interface.

1.3.2.2.2. string

1.3.2.3. getInetAddresses

1.3.2.3.1. Convenience method to return an Enumeration with all or a subset of the InetAddresses

1.3.2.3.2. Enumeration<InetAddress>

2. Socket Types

2.1. Datagram

2.1.1. UDP

2.1.2. Best effort

2.1.3. Connectionless

2.2. Stream

2.2.1. TCP

2.2.2. Reliable

2.2.3. Connection oriented