搜索资源列表
StrtoIP
- 一个IP地址字符串到标准SOCKADDR_IN IP地址的过程-a string of IP addresses standards SOCKADDR_IN the process of IP addresses
PostForum
- /*** *** *** *** **/ /* 灌水机 源代码 */ /* PostForum.cpp */ /********************************************/ #include #include #include <winsock.h> main(int argc,char *argv[]){ char buff[4096
网络扫描程序
- 本程序只对一个IP地址进行,如果要对一段IP进行测试,简单修改程序即可。可将发送放在单独的进程 里(使用fork()),send_icmp里做成循环,每次重新初始化struct sockaddr_in。那么对接收到的数据 进行分析的proc_icmp()将多一道对IP报头ip->src字段的判断。-this procedure only a pair of IP addresses, IP to a test, a simple
一个判断远程主机存活程序代码
- 一个判断远程主机存活程序代码(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
网络扫描程序
- 本程序只对一个IP地址进行,如果要对一段IP进行测试,简单修改程序即可。可将发送放在单独的进程 里(使用fork()),send_icmp里做成循环,每次重新初始化struct sockaddr_in。那么对接收到的数据 进行分析的proc_icmp()将多一道对IP报头ip->src字段的判断。-this procedure only a pair of IP addresses, IP to a test, a simple
StrtoIP
- 一个IP地址字符串到标准SOCKADDR_IN IP地址的过程-a string of IP addresses standards SOCKADDR_IN the process of IP addresses
VB-API
- VB的函数大全,从网上下载的,VB调用API的函数,希望各位能有用-VB function Daquan, downloaded from the Internet, called VB API function, hope can be useful
PostForum
- /*** *** *** *** **/ /* 灌水机 源代码 */ /* PostForum.cpp */ /********************************************/ #include #include #include <winsock.h> main(int argc,char *argv[]){ char buff[4096
client_serveur
- client socket include <sys/types.h> include <sys/socket.h> include <stdio.h> include <netinet/in.h> include <arpa/inet.h> include <unistd.h> int main() { int so
UICI
- 通用因特网IPV4网络编程接口 //TCP int uin_open_tcp(unsigned short port) int uin_accept(int fd, struct sockaddr_in *addr) int uin_connect(const char *cp, unsigned short port) int r_recv(int fd, void* buf, int size) in
socketaa
- #define DESTPORT 80 /* 要攻击的端口(WEB) */ #define LOCALPORT 8888 void send_tcp(int sockfd,struct sockaddr_in *addr) unsigned short check_sum(unsigned short *addr,int len) -#define DESTPORT 80 /* 要攻击的端口(WEB)*/
socketaa
- void send_tcp(int sockfd,struct unsigned short check_sum(unsigned short *addr,int len) -sockaddr_in*addr) unsigned short check_sum(unsigned short*addr,int len)
TCPS
- 服务器端程序,winsock socket sockaddr_in-Server-side programs, winsock socket sockaddr_in
addrinfo
- sinp = (struct sockaddr_in *)aip->ai_addr 会将struct sockaddr 变量强制转化为struct sockaddr_in 类型 inet_ntop函数用于在二进制格式与点分十进制格式表示(a.b.c.d)之间进行转换 -sinp = (struct sockaddr_in*) aip-> ai_addr the struct sockaddr variables f
UDP.rar
- 1、首先需要定义的对象: SOCKET ReceivingSocket //接收端的Socket SOCKADDR_IN ReceiverAddr //接收端的地址信息 char ReceiveBuf[1024] //接收数据缓冲区大小 int BufLength //缓冲区长度 SOCKADDR_IN SenderAddr //发送数据端地址信息 int SenderAddrSize
probe_clnt
- init_clnt() - gets the hostname and sockaddr_in for the target host, and initializes the RPC client handle.
SOCKET.CPP
- #include <winsock2.h> #pragma comment(lib, ws2_32.lib ) int main() { WSADATA WSAData SOCKET sock SOCKADDR_IN sin char buffer[255] WSAStartup(MAKEWORD(2,0), &WSAData) Tout est configuré
client
- Tcp_client 源代码 SOCKET sclient socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) if(sclient INVALID_SOCKET) { printf( invalid socket ! ) return } CEdit* pEdit (CEdit*)GetDlgItem(IDC_EDIT_PORT) CStrin