Socket questions
- What is a socket?
- What are the differences between
accept and connect?
- What are the differences between
close and shutdown?
- How would you
connect to www.google.com asynchronously?
Multi-threading questions
- What is a thread and how is it different from a process?
- When might you choose to use threads on a single CPU system?
- How would you measure the context switch overhead between threads?
- How would you make a MT-safe hash table, while allowing for maximal concurrency?