1/14
This set of flashcards covers key terms and definitions related to TCP sockets, client-server interactions, and Java networking principles.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
Socket
An endpoint of a two-way communication between two programs running on the network.
TCP
Transmission Control Protocol; ensures reliable communication between client and server.
Client
The program that uses services provided by the server.
Server
The program that provides services to the client.
Port
A numerical identifier in TCP/IP networking that allows for multiple applications to receive data.
ServerSocket
A class in Java that implements the server side of the connection.
SocketAddress
Represents a socket address, providing a way to store connection information such as IP address and port.
Protocol
An agreement on how to exchange information between programs, specifying encoding, timing, and actions.
Delimiter-based framing
A technique for framing messages where a unique marker indicates the end of a message.
Length-based framing
A technique for framing messages where the message is preceded by a field indicating its length.
InetAddress
A class in Java that represents an IP address, providing a way to resolve hostnames.
Stream
A sequence of data elements made available over time.
InputStream
An abstract class in Java that allows applications to read bytes from a data source.
OutputStream
An abstract class in Java that allows applications to write bytes to a data sink.
Two's complement
A way of representing signed integers using binary.