TCP Sockets Lecture Notes

0.0(0)
studied byStudied by 0 people
0.0(0)
linked notesView linked note
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/14

flashcard set

Earn XP

Description and Tags

This set of flashcards covers key terms and definitions related to TCP sockets, client-server interactions, and Java networking principles.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

15 Terms

1
New cards

Socket

An endpoint of a two-way communication between two programs running on the network.

2
New cards

TCP

Transmission Control Protocol; ensures reliable communication between client and server.

3
New cards

Client

The program that uses services provided by the server.

4
New cards

Server

The program that provides services to the client.

5
New cards

Port

A numerical identifier in TCP/IP networking that allows for multiple applications to receive data.

6
New cards

ServerSocket

A class in Java that implements the server side of the connection.

7
New cards

SocketAddress

Represents a socket address, providing a way to store connection information such as IP address and port.

8
New cards

Protocol

An agreement on how to exchange information between programs, specifying encoding, timing, and actions.

9
New cards

Delimiter-based framing

A technique for framing messages where a unique marker indicates the end of a message.

10
New cards

Length-based framing

A technique for framing messages where the message is preceded by a field indicating its length.

11
New cards

InetAddress

A class in Java that represents an IP address, providing a way to resolve hostnames.

12
New cards

Stream

A sequence of data elements made available over time.

13
New cards

InputStream

An abstract class in Java that allows applications to read bytes from a data source.

14
New cards

OutputStream

An abstract class in Java that allows applications to write bytes to a data sink.

15
New cards

Two's complement

A way of representing signed integers using binary.