请任何人告诉我以下主题可以在面试中提出的问题
- 套接字编程
- 多线程
提前感谢所有提供时间的人
最佳答案
作为招聘经理,我最喜欢问的网络问题是:
Imagine a user sitting at an Ethernet-connected PC. He has a browser open. He types "www.google.com" in the address bar and hits enter.
Now tell me what the first packet to appear on the Ethernet is.
可能的答案(正确性各不相同)包括:
- 我不知道。
- 一个 HTTP 请求 包。
- 一个 TCP 同步数据包。
- DNS 请求数据包。
- 一个 ARP 数据包。
- 视情况而定。
每个答案都揭示了人们对网络的总体理解,尤其是 IP 和 TCP。随后的讨论可以揭示他们的理解。 (当然,假设提问者在这方面有一定的专业知识)。
关于c++ - 关于套接字编程和多线程的面试问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/177197/