C:\aaa.csv"IPAddress","FullDomainName","RequestedTargetGroupName""10.103.16.65","cnhzpd-ftdx8x1","""10.103.22.812","cnhz","""10.103.22.81","cnhzpd-hxd...
分类:
其他好文 时间:
2015-05-08 18:03:09
阅读次数:
102
Get-CimInstance -Classname Win32_NetworkAdapterConfiguration | Where {$_.IPAddress} | select -Property ipaddress-OR-Get-CimInstance -Classname Win32_N...
分类:
其他好文 时间:
2015-05-08 18:02:54
阅读次数:
95
拿到一张excel数据表格,数据格式如下图所示:2、根据excel数据结果,构建保存excel数据的表结构CREATE TABLE #tmpExcel(IP VARCHAR(100),IPAddress VARCHAR(100),StartTime VARCHAR(50),EndTime VARCH...
分类:
数据库 时间:
2015-04-26 09:11:16
阅读次数:
219
物联网学习过程中遇到了需要PC端与Android端使用TCP协议进行通讯的问题,记录下来以便今后复习。 这里我PC端服务器使用的是C#编写的代码:int port = 2000;//端口号string host = "192.168.1.100";//服务器IP地址,IPAddress ip ...
分类:
移动开发 时间:
2015-04-25 16:19:35
阅读次数:
128
打开终端,进入用户目录,创建文件.bash_profile cd ~
vim .bash_profile 添加alias,例如 alias ll=‘ls -l‘ alias gossh=‘ssh root@ipaddress‘ 编辑完成以后,需执行以下命令让alias立即生效 source .bash_profi...
分类:
系统相关 时间:
2015-04-23 02:07:43
阅读次数:
204
通信框架为networkcomms2.3.1服务器端监听代码://从配置文件获取IP和端口 string strIP = System.Configuration.ConfigurationManager.AppSettings["IPAddress"]; ...
分类:
其他好文 时间:
2015-04-09 21:41:18
阅读次数:
148
/**
* 获取本地IP地址
* @author YOLANDA
* @return
*/
public static String getLocalIPAddress() {
String ipAddress = "";
try {
Enumeration netfaces = NetworkInterface.getNetworkInterfaces();...
分类:
移动开发 时间:
2015-04-05 13:25:44
阅读次数:
469
static void Main(string[] args) { IPAddress localAddress = IPAddress.Loopback;//获取本机的ip地址 IPEndPoint endPoint =new...
分类:
Web程序 时间:
2015-04-01 17:01:58
阅读次数:
123
[cpp]view plaincopyCStringipaddress;ipaddress="192.168.39.207";DWORDm_dwPuIp;m_dwPuIp=inet_addr(ipaddress);有一个错误:“inet_addr”: 不能将参数 1 从“CString”转换为“co...
分类:
Web程序 时间:
2015-04-01 15:05:28
阅读次数:
162
Socket socketWitch = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); IPAddress ip = IPAddress.Any; ...
分类:
其他好文 时间:
2015-04-01 13:04:32
阅读次数:
97