Failed t bind to server socket:tcp://localhost:61616 due to : java.net.BindException
通过netstat
-aon | findstr "61616" 查找端口被谁占用了,可是一直没有找到,google说是 Internet Connection Sharing (ICS)服务占用,kill了...
分类:
其他好文 时间:
2014-11-14 12:33:31
阅读次数:
205
#include #include #include #include #include #include #include #include "boost/asio.hpp"#include "boost/thread.hpp"#include "boost/bind.hpp"#include "...
分类:
编程语言 时间:
2014-11-13 16:25:11
阅读次数:
531
此控件是模拟excel进行添加删除行或者列。同时可以进行各单元格之间的运算,比如=SUM(A1,A3)就表示相加,操作跟excel类似,html代码如下:js代码如下: 1 $("#event_table tbody,#event_div").bind("contextmenu",func...
分类:
其他好文 时间:
2014-11-13 12:40:09
阅读次数:
184
对于只需要触发一次,随后就立即解绑的情况,jQuery提供了一种方法,one(),语法结构与bind相同。trigger(“click”)可以简化成click()。trigger还可以可以触发自定义名称的事件。例如,先用bind(“myClick”,function(){})给元素绑定一个自定义的m...
分类:
Web程序 时间:
2014-11-12 22:27:39
阅读次数:
206
dpdk的版本是1.7.1的稳定版
绑定万兆网卡的默认驱动ixgbe失败
# ./dpdk_nic_bind.py -b ixgbe 06:00.1
Error: bind failed for 0000:06:00.1 - Cannot bind to driver ixgbe
查看原因 dmesg |tail
# dmesg |tail
[ 5667.433649] ixgbe...
分类:
其他好文 时间:
2014-11-12 19:50:32
阅读次数:
587
异步服务端中的多线程
我在第4章 客户端和服务端展示的异步服务端是单线程的,所有的事情都发生在main()中:
int main() {
talk_to_client::ptr client = talk_to_client::new_();
acc.async_accept(client->sock(), boost::bind(handle_
accept,client,_1));
service.run();
}
异步的美妙之处就在于把单线程变为多线程的简单。你可...
分类:
编程语言 时间:
2014-11-11 10:50:49
阅读次数:
281
view:People This shows that you can use both Underscore-style evaluation () and data-bind attributes in the same templates.viewModel:/* ---- Be...
分类:
Web程序 时间:
2014-11-11 10:43:16
阅读次数:
152
一直用Tomcat,但是前几天突然报错: java.net.BindException: Address already in use: JVM_Bind:80第一反应就是80端口被占用了。解决方案:1.先用命令 netstat -ano 看一下各个端口(Local Address 列的端口号)占用...
分类:
编程语言 时间:
2014-11-10 17:06:16
阅读次数:
288
accept(接受socket连线)相关函数socket,bind,listen,connect表头文件#include#include定义函数int accept(int s,struct sockaddr * addr,int * addrlen);函数说明accept()用来接受参数s的soc...
分类:
Web程序 时间:
2014-11-10 06:30:25
阅读次数:
314
最近打算将bind的记录信息存入到数据库中去,网上找了下,原来早有老外写好了mysql-bind的补丁,重新编译bind即可实现bind支持mysql存储。(http://mysql-bind.sourceforge.net/)按照官方的做法是行不通的,有个小地方要修改下,下文中会提到。环境cent...
分类:
数据库 时间:
2014-11-09 08:34:51
阅读次数:
204