Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果套接字与网络接口连接,当该网络接口关闭时套接字状态将是什么。如果当前网络接口关闭,是否可以更改仍处于启动状态的网络接口。提前致谢...
一旦套接字绑定到接口,就是这样。如果接口关闭,则套接字关闭。没有选项可以将套接字跳转到不同的接口。您必须关闭套接字并在新接口上创建一个新套接字。