Multiple choice technology programming languages

The information needed to create a TCP socket for communication in JSP is

  1. The Local Systems IP Address

  2. Local Systems Port Number

  3. Remote System’s IPAddress

  4. All of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Creating a TCP socket requires complete addressing information: local IP address (to bind to), local port number (to identify the local endpoint), and remote system's IP address (to connect to). All three pieces are essential for establishing a TCP connection between systems.