我正在用boost::python编写嵌入python的c++代码 开发环境为Windows 7、Visual Studio 2012、boost 1.55(64位)、Python 2.7.10(64位)
python模块使用UDP。它在python控制台(cmd)上运行良好。但是如果我在C++(VisualStudio)上运行这个模块,ReV SokECT会抛出超时异常。p>
我在用https://github.com/Parrot-Developers/bybop 在这里,Bybop\u NetworkAL.py的\u read\u循环的recvfrom方法抛出超时
对不起,我的英语不够好
如果我可以的话,我会把这个贴出来作为评论。。。查看datetime模块http://docs.python.org/3/library/datetime.html-您可以使用datetime.now()和timedelta来完成与上面相同的任务
相关问题 更多 >
编程相关推荐