报错解决
dz小伟
dz小伟
展开
-
Linux socket 发送int类型 安卓APP接收int
1、Linux如何发送int必须使用htonl字节转换,不然发送过去是反的,实现不了功能int fire1;fire1 = htonl(fire1);//返回网络字节序(大端字节序)//发送,前面服务端的socket创建省略write(cpu_fd,&fire1,4); //必须4字节2、安卓APP接收int安卓app的int是4个字节,所以Linux发送的也必须是4字节,不然安卓这边接收不到,会阻塞接收int用DataInputStrea...原创 2021-06-26 10:42:35 · 464 阅读 · 0 评论 -
java.lang.IllegalStateException: The specified message queue synchronization barrier token has not
java.lang.IllegalStateException: The specified message queue synchronization barrier token has not been posted or has already been removed.安卓APP socket接收数据,发现第一次接收正常,第二次崩了,查看发现是以上原因,是消息队列的问题06-25 21:29:14.521: W/dalvikvm(6805): threadid=1: thread exi.原创 2021-06-26 10:26:35 · 4697 阅读 · 3 评论 -
error: Something went wrong bootstrapping makefile fragments
树莓派下载安装libcurl时报错编译阶段:./configure --prefix=$PWD/_install --with-ssl报错config.status: executing depfiles commandsconfig.status: error: in /home/pi/xiaowei/libcurl/curl-7.71.1’:config.status: error: Something went wrong bootstrapping makefile fragmentsf原创 2021-02-15 21:14:07 · 7860 阅读 · 0 评论