Socket Programming Flashcards
1
Q
What is an example of socket programming?
A
An internet file server
2
Q
What does socket mean?
A
Create a new communication end point
3
Q
What does bind mean?
A
Attach a local address to a socket
4
Q
What does listen mean?
A
Announce willingness to accept connections; give queue size
5
Q
What does accept mean?
A
Block the caller until a connection attempt arrives
6
Q
What does connect mean?
A
Actively attempt to establish a connection
7
Q
What does send mean?
A
Send some data over the connection
8
Q
What does receive mean?
A
Receive some data from the connection
9
Q
What does close mean?
A
Release the connection