CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - netinet/in.h
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - netinet/in.h - List
[
Streaming Mpeg4
]
冲击波源代码
DL : 0
*/ #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
Date
: 2008-10-13
Size
: 5.79kb
User
:
稻草人
[
Internet-Network
]
linux_c_s
DL : 0
基于终端的订花系统_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
Date
: 2008-10-13
Size
: 3.84kb
User
:
xxf
[
Streaming Mpeg4
]
冲击波源代码
DL : 0
*/ #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
Date
: 2025-07-02
Size
: 6kb
User
:
稻草人
[
Internet-Network
]
linux_c_s
DL : 0
基于终端的订花系统_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
Date
: 2025-07-02
Size
: 4kb
User
:
xxf
[
Applications
]
client_serveur
DL : 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) } -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) }
Date
: 2025-07-02
Size
: 1kb
User
:
nabilnapel
[
Internet-Network
]
scan
DL : 0
采用编写的个人自动扫描器..#include<netinet/in.h> #include<errno.h> #include<netdb.h> -auto scan
Date
: 2025-07-02
Size
: 1kb
User
:
yushui
[
Linux-Unix
]
portscan
DL : 0
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>
Date
: 2025-07-02
Size
: 1kb
User
:
david
[
Internet-Network
]
HTTP
DL : 0
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>
Date
: 2025-07-02
Size
: 3kb
User
:
zyh
[
Internet-Network
]
Linux-ping
DL : 0
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"
Date
: 2025-07-02
Size
: 2kb
User
:
wxk1383
[
Linux-Unix
]
res_debug
DL : 0
efine DEBUG endif include <sys types.h> include <netinet in.h> include <stdio.h> include <arpa nameser.h> Device Driver for linux.
Date
: 2025-07-02
Size
: 3kb
User
:
taoxydp
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.