Socket Programming Flashcards

1
Q

What is an example of socket programming?

A

An internet file server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does socket mean?

A

Create a new communication end point

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does bind mean?

A

Attach a local address to a socket

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does listen mean?

A

Announce willingness to accept connections; give queue size

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does accept mean?

A

Block the caller until a connection attempt arrives

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does connect mean?

A

Actively attempt to establish a connection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does send mean?

A

Send some data over the connection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does receive mean?

A

Receive some data from the connection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does close mean?

A

Release the connection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly