套接字 SocketsBoost.Asio有三种类型的Socket类:ip::tcp,ip::udp和ip::icmp,三者都是可扩展的。你可以创建自己的Socket类,虽然做起来稍微复杂了点。假如你真的要这么做,可以参考boost/asio/ip/tcp.hpp,boost/asio/ip/udp.hpp和boost/asio/ip/icmp.hpp。它们都是很小的类,在内部使用typedef关键...
分类:
其他好文 时间:
2015-03-14 17:00:22
阅读次数:
132
iproute-static1.48.0.0255.254.0.0113.240.251.65iproute-static1.50.0.0255.255.0.0113.240.251.65iproute-static1.68.0.0255.252.0.0113.240.251.65iproute-static1.80.0.0255.248.0.0113.240.251.65iproute-static1.92.0.0255.255.240.0113.240.251.65iproute-static1.93.0..
分类:
移动开发 时间:
2015-03-13 01:52:53
阅读次数:
1843
系统环境:CentOS6.5在防火墙文件下添加条目即可,但注意条目的位置;[root@debris~]#vi/etc/sysconfig/iptables#Firewallconfigurationwrittenbysystem-config-firewall#Manualcustomizationofthisfileisnotrecommended.*filter:INPUTACCEPT[0:0]:FORWARDACCEPT[0:0]:OUTPUTAC..
分类:
其他好文 时间:
2015-03-12 15:25:06
阅读次数:
111
主要命令: ipconfig route ping tracert 指定外网路由通过本地以太网连接出去 route add -p 0.0.0.0 mask 0.0.0.0 192.168.10.1 删除3G上网卡内网网关路由 route delete 0.0.0.0 mask 0.0.0.0 192...
准备步骤:1.下载VNCPutty及WinSCP2.在ESXI上开启ssh3.利用WinSCP连接到ESXI,按照下面要求修改:1.修改ESXi主机的firewall配置在ESXi主机的/etc/vmware/firewall目录下增加vnc的防火墙配置文件,vnc.xml,内容如下:/etc/vmware/firewall#catvnc.xml<!--FirewallRuleforVNC..
分类:
其他好文 时间:
2015-03-12 01:08:42
阅读次数:
172
打开编辑: vi /etc/sysconfig/iptables重启防火墙:service iptables restart# Firewall configuration written by system-config-firewall# Manual customization of this...
分类:
系统相关 时间:
2015-03-10 15:22:19
阅读次数:
202
一、概述性能监视,是Windows NT提供的一种系统功能。Windows NT一直以来总是集成了性能监视工具,它提供有关操作系统当前运行状况的信息,针对各种对象提供了数百个性能计数器。性能对象,就是被监视的对象,典型例子有Processor、Process、Memory、TCP/UDP/IP/ICMP、PhysicalDisk等。计数器通常提供操作系统、应用程序、服务、驱动程序等的性能相关信息,...
1、配置Telnet#进入系统视图。<H3C>system-view#进入VTY0用户界面视图。[H3C]user-interfacevty0#设置通过VTY0口登录交换机的用户进行Password认证。[H3C-ui-vty0]authentication-modepassword#设置用户的认证口令为密码方式,口令为123456。[H3C-ui-vty0]setauthenticat..
分类:
其他好文 时间:
2015-03-09 19:21:14
阅读次数:
368
默认给s5120交换机配置好vlan和vlan_dhcp,pingvlan的网关是不通的,解决办法:1、[H3C]displayipinterfacebrief查看vlan虚拟接口是否up*down:administrativelydown(s):spoofingInterfacePhysicalProtocolIPAddressDescriptionVlan-interface1upup192.168.100.252Vlan-inte...V..
分类:
其他好文 时间:
2015-03-09 19:20:04
阅读次数:
110
Linux下安装了MySQL,不能从其它机器访问 帐号已经授权从任意主机进行访问vi /etc/sysconfig/iptables在后面添加-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEP...
分类:
数据库 时间:
2015-03-09 18:48:43
阅读次数:
122