QTcpServer->listen() on WinCE6 "protocol type not supported"
QTcpServer->listen() on WinCE6 "protocol type not supported"
我做了一个应用程序,它必须在Win32和WinCE6 (x86)机器上运行。它在Win32上运行良好,但在WinCE6上运行时:
m_TcpServer->listen(QHostAddress::Any, 1024)
返回false并提示:"不支持协议类型"
我已经在谷歌上搜索过了,但是我找不到任何解决这个问题的方法,如果有人能帮助我,我将非常感激。
谢谢,约翰内斯
试试QHostAddress::AnyIPv4
。它可能试图绑定IPv6接口,这在WinCE上无法工作。
相关文章:
- C++ 使用 Curl 库编程 - 抛出错误"protocol https not supported or disabled."
- Visual Studio 2010 C++ /w Google Protocol Buffers.找不到 60 个外部
- 用于构建C++ Google Protocol Buffers Project的生成文件
- 将Google Protocol Buffers.proto文件集成到Visual C++2010中
- Objective-C在C++@protocol等效的
- Do Protocol缓冲区在解析时重用字符串指针
- 使用Google Protocol Buffer和Protobuf-C#将双重属性从C++转移到C#的问题
- 如何用XML格式化Google Protocol Buffers对象并从XML进行解析
- QTcpServer->listen() on WinCE6 "protocol type not supported"
- 使用Protocol Buffers检索带有字段描述符的父消息中的字段名
- 使用Protocol Buffers描述符对象从.proto文件中读取注释
- Google的Protocol Buffer在实践中对浮点类型的处理有多跨平台?
- 有没有办法强制Protocol Buffer使用常量字段大小
- 在WinCE6.0或DMA中实现多重处理