15.6. Reading and Writing Binary Data
15.6.1. Problem
Having
connected, you
wish to transfer binary data.
15.6.2. Solution
Construct a
DataInputStream
or DataOutputStream
from the socket's getInputStream( ) or
getOutputStream( ).
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