Mente

network_programming.htm

Notes on Network Programming in C

Chap 02: Questions

What is a socket?

What is a connectionless protocol? What is a connection-oriented protocol?

Is UDP a connectionless or connection-oriented protocol?

Is TCP a connectionless or connection-oriented protocol?

What types of applications generally benefit from using the UDP protocol?

What types of applications generally benefit from using the TCP protocol?

Does TCP guarantee that data will be transmitted successfully?

What does the bind() function do?

What does the accept() function do?

In a TCP connection, does the client or the server send application data first?”