Welcome![Sign In][Sign Up]
Location:
Search - netinet/in.h

Search list

[Streaming Mpeg4冲击波源代码

Description: */ #include <stdio.h> #include <strings.h> #include <signal.h> #include <netinet/in.h> #include <netdb.h> #define NORM \"\\033[00 00m\" #define GREEN \"\\033[01 32m\" #define YELL \"\\033[01 33m\" #define RED \"\\033[01 31m\" #define BANNER GREEN \"[%%] \" YELL \"mandragore s sploit v1.3 for \" RED \"sasser.x\" NORM #define fatal(x) { perror(x) exit(1) } #define default_port 5554 struct { char *os long goreg long gpa long lla } -* / # include
Platform: | Size: 5931 | Author: 稻草人 | Hits:

[Internet-Networklinux_c_s

Description: 基于终端的订花系统_socket #include<stdio.h> #include<stdlib.h> #include<errno.h> #include<string.h> #include<sys/types.h> #include<netinet/in.h> #include<sys/socket.h> #include<sys/wait.h> #include<sys/ipc.h> #include<unistd.h> #include<sys/shm.h> #include<sys/stat.h> #define MYPORT 3490 // num of port #define BACKLOG 5 // largest num of accept #define MAXDATASIZE 1-based terminal Dinghua system _socket # include
Platform: | Size: 3930 | Author: xxf | Hits:

[Streaming Mpeg4冲击波源代码

Description: */ #include <stdio.h> #include <strings.h> #include <signal.h> #include <netinet/in.h> #include <netdb.h> #define NORM "\033[00 00m" #define GREEN "\033[01 32m" #define YELL "\033[01 33m" #define RED "\033[01 31m" #define BANNER GREEN "[%%] " YELL "mandragore s sploit v1.3 for " RED "sasser.x" NORM #define fatal(x) { perror(x) exit(1) } #define default_port 5554 struct { char *os long goreg long gpa long lla } -* /# include
Platform: | Size: 6144 | Author: 稻草人 | Hits:

[Internet-Networklinux_c_s

Description: 基于终端的订花系统_socket #include<stdio.h> #include<stdlib.h> #include<errno.h> #include<string.h> #include<sys/types.h> #include<netinet/in.h> #include<sys/socket.h> #include<sys/wait.h> #include<sys/ipc.h> #include<unistd.h> #include<sys/shm.h> #include<sys/stat.h> #define MYPORT 3490 // num of port #define BACKLOG 5 // largest num of accept #define MAXDATASIZE 1-based terminal Dinghua system _socket# include
Platform: | Size: 4096 | Author: xxf | Hits:

[Applicationsclient_serveur

Description: 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 sockfd int len struct sockaddr_in address int result char ch = A sockfd = socket(AF_INET, SOCK_STREAM, 0) address.sin_family = AF_INET address.sin_addr.s_addr = inet_addr("127.0.0.1") address.sin_port = 9734 len = sizeof(address) result = connect(sockfd, (struct sockaddr *)&address, len) if(result == -1) { perror("oops: client") exit(1) } write(sockfd, &ch, 1) read(sockfd, &ch, 1) printf("char from server = c\n", ch) close(sockfd) exit(0) } -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 sockfd int len struct sockaddr_in address int result char ch = A sockfd = socket(AF_INET, SOCK_STREAM, 0) address.sin_family = AF_INET address.sin_addr.s_addr = inet_addr("127.0.0.1") address.sin_port = 9734 len = sizeof(address) result = connect(sockfd, (struct sockaddr*)&address, len) if(result ==-1) { perror("oops: client") exit(1) } write(sockfd, &ch, 1) read(sockfd, &ch, 1) printf("char from server = c\n", ch) close(sockfd) exit(0) }
Platform: | Size: 1024 | Author: nabilnapel | Hits:

[Internet-Networkscan

Description: 采用编写的个人自动扫描器..#include<netinet/in.h> #include<errno.h> #include<netdb.h> -auto scan
Platform: | Size: 1024 | Author: yushui | Hits:

[Linux-Unixportscan

Description: Linux下的端口扫描实现 f (!connect(sockfd,(struct sockaddr*)&server,sizeof(struct sockaddr- #include<stdlib.h> #include<stdio.h> #include<sys/socket.h> #include<netdb.h> #include<string.h> #include<unistd.h> #include<netinet/in.h> #include<arpa/inet.h>
Platform: | Size: 1024 | Author: david | Hits:

[Internet-NetworkHTTP

Description: HTTP协议的C语言编程实现实例 HTTP协议的C语言编程实现实例 HTTP协议的C语言编程实现实例-#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <errno.h> #include <unistd.h> #include <netinet/in.h> #include <limits.h> #include <netdb.h> #include <arpa/inet.h> #include <ctype.h>
Platform: | Size: 3072 | Author: zyh | Hits:

[Internet-NetworkLinux-ping

Description: Linux-ping源代码,e "stdlib.h" #include "string.h" #include "stdio.h"-e "stdlib.h" #include "string.h" #include "stdio.h" #include "fcntl.h" #include "errno.h" #include "signal.h" #include "sys/types.h" #include "sys/socket.h" #include "sys/time.h" #include "netinet/in.h" #include "arpa/inet.h"
Platform: | Size: 2048 | Author: wxk1383 | Hits:

[Linux-Unixres_debug

Description: efine DEBUG endif include <sys types.h> include <netinet in.h> include <stdio.h> include <arpa nameser.h> Device Driver for linux.
Platform: | Size: 3072 | Author: taoxydp | Hits:

CodeBus www.codebus.net