ASL
|
These classes enable network communication with TCP (plain or TLS encrypted), UDP and Unix/Local sockets.
The SocketServer
class implements a multithreaded socket server and is easier to use than using Socket
objects directly for serving multiple clients in parallel.
This simplified example would connect to a server (at some host and TCP port), send a question and receive an answer.
Classes | |
class | InetAddress |
Represents an endpoint of a socket which is ususally an IP address and a port. More... | |
class | Socket |
A communication socket for the TCP/IP protocol. More... | |
class | PacketSocket |
A communication socket for UDP/IP protocol. More... | |
class | LocalSocket |
A Local or Unix socket for inter-process communication within a machine. More... | |
class | MulticastSocket |
A communication socket for multicast UDP/IP protocol. More... | |
class | SocketServer |
This is a reusable TCP or Unix socket server that listens to incoming connections and answers them concurrently (default) or sequentially. More... | |
class | TlsSocket |
A TLS secure socket. More... | |