CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - PID
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
xml-soap-webservice
Remote Control
P2P
TCP/IP stack
SNMP
Grid Computing
CloudComputing
Search - PID - List
[
Internet-Network
]
5ivb_043552
DL : 0
快速控制.管理,?焖倏刂? 管理,?焖倏刂?管理,-rapid control. Management, ra pid control. Management, ra pid control. management, ra pid control. management,
Date
: 2008-10-13
Size
: 23.02kb
User
:
willing
[
Internet-Network
]
一个判断远程主机存活程序代码
DL : 0
一个判断远程主机存活程序代码(ping) #include #include #include #include #include "winsock.h" #pragma comment(lib,"Ws2_32"); #define SEND_SIZE 32 #define PACKET_SIZE 4096 #define ICMP_ECHO 8 #define ICMP_ECHOREPLY 0 struct icmp { unsigned char icmp_type; unsigned char icmp_code; unsigned short icmp_cksum; unsigned short icmp_id; unsigned short icmp_seq; unsigned long icmp_data; }; struct ip { unsigned char ip_hl:4; unsigned char ip_v:4; unsigned char ip_tos; unsigned short ip_len; unsigned short ip_id; unsigned short ip_off; unsigned char ip_ttl; unsigned char ip_p; unsigned short ip_sum; unsigned long ip_src; unsigned long ip_dst; }; unsigned char sendpacket[PACKET_SIZE]; unsigned char recvpacket[PACKET_SIZE]; struct sockaddr_in dest_addr; struct sockaddr_in from_addr; int sockfd; int pid; unsigned short cal_chksum(unsigned short *addr,int len); int pack(int pack_no); int unpack(unsigned char *buf,int len); void send_packet(void); void recv_packet(void); void main(int argc,char *argv[]) { struct hostent *host; struct protoent *protocol; WSADATA wsaData; int timeout=1000; int SEND_COUNT=4; int i; char *par_host; par_host=argv[argc-1]; //IP赋值 switch(argc) { case 2: break; case 3: if(strcmp(argv[1],"-t")==0) { SEND_COUNT=10000; break; } //fall through default: printf("usage: %s [-t] Host name or IP address\n",argv[0]); exit(1); } if(WSAStartup(0x1010,&wsaData)!=0) { printf("wsastartup error\n"); exit(1); } if( (protocol=getprotobyname("icmp") )==NULL) { printf("getprotobyname error\n"); exit(1); } /* printf("%s\n",protocol->p_name); printf("%s\n",protocol->p_aliases); printf("%d\n",protocol->p_proto); system("pause"); */ if( (sockfd=socket(AF_INET,SOCK_RAW,protocol->p_proto) )<0) { printf("socket error\n"); exit(1); } if(setsockopt(sockfd,SOL_SOCKET,SO_RCVTIMEO,(char*)&timeout,sizeof(timeout))h_length); //resolve address to hostname if(host=gethostbyaddr(host->h_addr,4,PF_INET)) par_host=host->h_name; // //printf("%s\n",par_host); // } else if( dest_addr.sin_addr.s_addr=inet_addr(par_host)==INADDR_NONE) { printf("Unkown host %s\n",par_host); exit(1); } pid=getpid(); /* printf("%d\n",pid); system("pause"); */ printf("Pinging %s [%s]: with %d bytes of data:\n\n",par_host,inet_ntoa(dest_addr.sin_addr),SEND_SIZE); for(i=0;i1) { sum+=*w++; nleft-=2; } if( nleft==1) { *(unsigned char *)(&answer)=*(unsigned char *)w; sum+=answer; } sum=(sum>>16)+(sum&0xffff); sum+=(sum>>16); answer=~sum; return answer; } //打包 int pack(int pack_no) { int packsize; struct icmp *icmp; packsize=8+SEND_SIZE; icmp=(struct icmp*)sendpacket; icmp->icmp_type=ICMP_ECHO; icmp->icmp_code=0; icmp->icmp_cksum=0; icmp->icmp_seq=pack_no; icmp->icmp_id=pid; icmp->icmp_data=GetTickCount(); icmp->icmp_cksum=cal_chksum( (unsigned short *)icmp,packsize); /*校验算法*/ return packsize; } //解包 int unpack(unsigned char *buf,int len) { struct ip *ip; struct icmp *icmp; double rtt; int iphdrlen; ip=(struct ip *)buf; iphdrlen=ip->ip_hl*4; icmp=(struct icmp *)(buf+iphdrlen); if( (icmp->icmp_type==ICMP_ECHOREPLY) && (icmp->icmp_id==pid) ) { len=len-iphdrlen-8; rtt=GetTickCount()-icmp->icmp_data; printf("Reply from %s: bytes=%d time=%.0fms TTL=%d icmp_seq=%u\n", inet_ntoa(from_addr.sin_addr), len, rtt, ip->ip_ttl, icmp->icmp_seq); return 1; } return 0; } //发送 void send_packet() { int packetsize; static int pack_no=0; packetsize=pack(pack_no++); if( sendto(sockfd,(char *)sendpacket,packetsize,0,(struct sockaddr *)&dest_addr,sizeof(dest_addr) )=0) success=unpack(recvpacket,n); else if (WSAGetLastError() == WSAETIMEDOUT) { printf("Request timed out.\n"); return; } }while(!success); } UID5380 帖子239 精华0 积分1289 阅读权限40 来自软件学院 在线时间81 小时 注册时间2006-5-22 最后登录2007-2-24 查看详细资料 TOP
Date
: 2009-05-29
Size
: 5.74kb
User
:
shuiyuan313
[
Internet-Network
]
5ivb_043552
DL : 0
快速控制.管理,?焖倏刂? 管理,?焖倏刂?管理,-rapid control. Management, ra pid control. Management, ra pid control. management, ra pid control. management,
Date
: 2025-12-20
Size
: 23kb
User
:
willing
[
Internet-Network
]
enetstat_src
DL : 0
enhanced netstat.可以找出端口对应的进程PID,从而确定某个端口是由哪个程序打开的。对于二次开发很有用。-enhanced netstat. Ports can find the corresponding process PID, a port in order to determine which procedures are open. For the Second Development useful.
Date
: 2025-12-20
Size
: 12kb
User
:
陈学峰
[
Internet-Network
]
EnetstatX_demo
DL : 0
端口到网络进程pid的转换例子,有界面。可以杀死进程,过滤进程。-port to the network conversion process pid example, the interface. Can kill the process, filtration process.
Date
: 2025-12-20
Size
: 949kb
User
:
陈学峰
[
Internet-Network
]
netsrv
DL : 0
socket套接字,客户机服务器模式,客户机PID控制-socket socket, client-server model, client PID control
Date
: 2025-12-20
Size
: 1.13mb
User
:
wangsu
[
Internet-Network
]
Cool_manager
DL : 0
一个很久以前自己vb写的远程控制 Cool manager alljsj.ColumnHeaders.Add 1, "jsjb", "编号" alljsj.ColumnHeaders.Add 2, "jsjn", "计算机名" alljsj.ColumnHeaders.Add 3, "jsjip", "IP地址" alljsj.ColumnHeaders.Add 4, "jsju", "用户名" alljsj.ColumnHeaders.Add 5, "jsjp", "密码" alljsj.ColumnHeaders.Add 6, "jsjbz", "备注" Dim item1 As ListItem Set item1 = alljsj.ListItems.Add(, "jsj", "1", , 5) item1.SubItems(1) = "1" item1.SubItems(1) = Ws(0).LocalHostName item1.SubItems(2) = Ws(0).LocalIP item1.SubItems(3) = "cool" item1.SubItems(4) = "cm" pslst.ColumnHeaders.Add , "jcm", "进程名" pslst.ColumnHeaders.Add , "jpid", "PID" End Sub Private Sub alljsj_DblClick() MsgBox alljsj.SelectedItem.SubItems(2) Reip = alljsj.SelectedItem.SubItems(2) sd.Close sd.RemoteHost = Reip sd.RemotePort = 313 sd.Connect sb.Panels(1).Text = "正在连接" & Reip & "..." End Sub-Vb a long time ago to write their own remote control Cool manager alljsj.ColumnHeaders.Add 1, jsjb , No. alljsj.ColumnHeaders.Add 2, jsjn , computer name alljsj.ColumnHeaders.Add 3, jsjip , IP Address alljsj.ColumnHeaders.Add 4, jsju , username alljsj.ColumnHeaders.Add 5, jsjp , password alljsj.ColumnHeaders.Add 6, jsjbz , Remarks Dim item1 As ListItemSet item1 = alljsj.ListItems.Add (, jsj , 1 ,, 5) item1.SubItems (1) = 1 item1.SubItems (1) = Ws (0). LocalHostNameitem1.SubItems (2) = Ws (0). LocalIPitem1.SubItems (3) = cool item1.SubItems (4) = cm pslst.ColumnHeaders.Add, jcm , process name pslst.ColumnHeaders.Add, jpid , PID End SubPrivate Sub alljsj_DblClick () MsgBox alljsj.SelectedItem.SubItems (2) Reip = alljsj.SelectedItem.SubItems (2) sd.Closesd.RemoteHost = Reipsd.RemotePort = 313sd.Connectsb.Panels (1). Text = Connecting
Date
: 2025-12-20
Size
: 960kb
User
:
gongxd
[
Internet-Network
]
SpamMon_src
DL : 0
"spamMonitor is a small program to detect if your computer is sending spams, in case of a virus/rootkit infection. It displays an alert each time an outgoing SMTP connection is established from your PC and gives you all details about such a connection (program, PID, remote IP...)."
Date
: 2025-12-20
Size
: 27kb
User
:
netcat
[
Internet-Network
]
PMAC--PCI
DL : 0
析了利用PMAC--PCI的PID调节功能提高数控系统的精度、降低系统跟踪误差的重要性。建立了基于PMAC—PCI的控制算法,并通过PID参数的调整加以验证。-Analysis of the use of PMAC- PCI regulatory function of the PID to improve the accuracy of numerical control system to reduce the importance of the system tracking error. Established a PMAC-PCI-based control algorithms, and through the adjustment of PID parameters to be verified.
Date
: 2025-12-20
Size
: 360kb
User
:
郑磊
[
Internet-Network
]
fpid15
DL : 0
模糊PID控制的FIS文件,非常的实用,模块化的,可以直接调用。-fuzzy control
Date
: 2025-12-20
Size
: 1kb
User
:
jlll
[
Internet-Network
]
GMV-telecontrol
DL : 0
基于C/S模式的网络远程控制系统,可以实现机械臂的PID、模糊控制等-Based on C/S mode network remote control system, can achieve arm' s PID, fuzzy control
Date
: 2025-12-20
Size
: 9.87mb
User
:
刘长乐
[
Internet-Network
]
VBServer
DL : 0
模糊控制的pid控制,应用于加热炉的控制-pid control
Date
: 2025-12-20
Size
: 273kb
User
:
刘晓丽
[
Internet-Network
]
cPP
DL : 0
网络控制PID实验包,运用c++进行编程(c语言)-Experimental packet network PID control, the use of c++ programming (c language)
Date
: 2025-12-20
Size
: 9kb
User
:
li
[
Internet-Network
]
OpenPPortsPScannerPv2.4P
DL : 0
这是一个简单好用的小软件,可以用来监控你的电脑的TCP端口和UDP数据包发送情况 界面采用列表方式可以一目了然的看到你的机器的端口情况,他的列表分类清晰如协议,PID,进程名称,本地地址,本地端口,远程地址,远程端口,连接状态等等 -This is a simple easy to use small software can be used to monitor your computer' s TCP ports and UDP packet interface using the situation to see a list of ways to clear the port on your machine, he clear the list of categories such as agreement, PID, process name, local address, local port, remote address, remote port, connection status, etc.
Date
: 2025-12-20
Size
: 472kb
User
:
杨翔
[
Internet-Network
]
AQM-PID
DL : 0
拥塞控制算法 主动队列管理 PID算法 应用于NS2仿真-congestion control AQM PID NS2
Date
: 2025-12-20
Size
: 6kb
User
:
jack
[
Internet-Network
]
mfc
DL : 0
TS传输流工具,可以转换TS流中的各种pid.可以改变ts流中nit表版本.可以按一写比例修改ts流中的空包.-A tool for TS file.It can change TS file s pids,NIT table,and delete filled packet.
Date
: 2025-12-20
Size
: 3.58mb
User
:
keneth
[
Internet-Network
]
bing
DL : 0
一个网页刷帖的工具,不是很完善,login()登录,get_id()取得当前论坛的最新帖子的classid和pid,然后posts()进行发帖-A web brush tool posts is not perfect. . . . . . . . . . . . . .
Date
: 2025-12-20
Size
: 1kb
User
:
D
[
Internet-Network
]
muPID
DL : 0
一个简单的温度控制的模糊PID例子。还有WORD文档的说明(A simple temperature control of the fuzzy PID example. There are WORD document description)
Date
: 2025-12-20
Size
: 1.82mb
User
:
等风来123
[
Internet-Network
]
单神经元
DL : 0
单神经元PId 控制,主要在MATLAB中使用,可以自由控制被控对象,选择合适的液压系统进行有效控制(Single neuron PId control, mainly used in MATLAB, can be free to control the controlled object, select the appropriate hydraulic system for effective control)
Date
: 2025-12-20
Size
: 11kb
User
:
LJL1014
[
Internet-Network
]
PID演示软件
DL : 0
最全面的pid演示,可以最快学好pid的上位机(The most comprehensive PID demonstration)
Date
: 2025-12-20
Size
: 914kb
User
:
小布12345
«
1
2
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.