27.5. Establishing a Simple Client Using Stream Sockets
Establishing a simple client in Java requires four steps.
Step 1: Create a Socket to Connect to the sServer
In Step 1, we create a Socket to connect to the server. The Socket constructor establishes the connection. For example, the statement
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial