Copyright © 2001 Qusay H. Mahmoud
36
Sockets Programming in Java
lStreams
–The basic of all I/O in Java is the data stream
–A pipeline of data
lput info into the pipeline (write) and get it (read)
lProgramming with Sockets (TCP)
–Opening a Socket
–Creating a data input stream
–Creating a data output stream
–Closing the socket(s)
l