- Sockets are used as a communication channel between the server and client in Java application
Vulnerable Code
- The server code uses regular sockets that fail to protect data in transmission

Secure Code
- The server code uses secure sockets to protect data while in transmission
SSL and Security: Example 2
Vulnerable Code
- The code uses regular sockets for a server application that fails to protect data in transmission

Secure Code
- The code uses SSLSockeet that blocks any attempts to connect any ports that are not using SSL

