Specifications
Sun Services
Java™ Programming Language
Module 15, slide 4 of 12
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Networking
This section describes networking concepts.
Sockets
• Sockets hold two streams: an input stream and an
output stream.
• Each end of the socket has a pair of streams.
Setting Up the Connection
Set up of a network connection is similar to a telephone
system: One end must dial the other end, which must be
listening.










