socket 与 C++ 的 iostream 有冲突吗

应该是socket bind函数和c++11 std::bind冲突了题主是不直接using namespace std;建议看下c++11 知识点和命名空间相关知识:)
■网友
error: value of type \u0026#39;__bind\u0026lt;int \u0026amp;, sockaddr *, unsigned long\u0026gt;\u0026#39; is not contextually convertible to \u0026#39;bool


    推荐阅读