# Library Net

# Package Sockets

## Overview

Classes: DatagramSocket, DatagramSocketImpl, DialogSocket, MulticastSocket, NetworkInterface, RawSocket, RawSocketImpl, ServerSocket, ServerSocketImpl, Socket, SocketIOS, SocketImpl, SocketInputStream, SocketOutputStream, SocketStream, SocketStreamBuf, StreamSocket, StreamSocketImpl

Functions: operator <<

## Classes

### class DatagramSocket

This class provides an interface to an UDP stream socket.

### class DatagramSocketImpl

This class implements an UDP socket.

### class DialogSocket

DialogSocket is a subclass of StreamSocket that can be used for implementing request-response based client server connections.

### class MulticastSocket

A MulticastSocket is a special DatagramSocket that can be used to send packets to and receive packets from multicast groups.

### class NetworkInterface

This class represents a network interface.

### class RawSocket

This class provides an interface to a raw IP socket.

### class RawSocketImpl

This class implements a raw socket.

### class ServerSocket

This class provides an interface to a TCP server socket.

### class ServerSocketImpl

This class implements a TCP server socket.

### class Socket

Socket is the common base class for StreamSocket, ServerSocket, DatagramSocket and other socket classes.

### class SocketIOS

The base class for SocketStream, SocketInputStream and SocketOutputStream.

### class SocketImpl

This class encapsulates the Berkeley sockets API.

### class SocketInputStream

An input stream for reading from a socket.

### class SocketOutputStream

An output stream for writing to a socket.

### class SocketStream

An bidirectional stream for reading from and writing to a socket.

### class SocketStreamBuf

This is the streambuf class used for reading from and writing to a socket.

### class StreamSocket

This class provides an interface to a TCP stream socket.

### class StreamSocketImpl

This class implements a TCP socket.