EGCP-4310 - Exam 1 - 11 Socket Programming and Timeouts

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:39 AM on 9/30/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

15 Terms

1
New cards

What does a socket provide?

Application interface to transport protocol

2
New cards

What does UDP require per outgoing datagram?

Destination IP address and port

3
New cards

What may UDP delivery do?

Lose or reorder datagrams

4
New cards

What establishes a TCP connection?

Client-server handshake

5
New cards

What socket welcomes TCP connection requests?

Server welcoming socket

6
New cards

What socket serves one accepted TCP client?

Connection socket

7
New cards

What does TCP provide applications?

Reliable in-order byte stream

8
New cards

What does socket.settimeout set?

Maximum wait for socket operations

9
New cards

What happens after socket timeout expires?

Operation raises timeout exception

10
New cards

What Python structure handles timeout exceptions?

Try-except block

11
New cards

What server call associates socket with port?

bind

12
New cards

What TCP server call queues connection requests?

listen

13
New cards

What TCP client call starts connection?

connect

14
New cards

What UDP call sends data to address?

sendto

15
New cards

What UDP call returns data and sender?

recvfrom