Chinaunix首页 | 论坛 | 博客
  • 博客访问: 222177
  • 博文数量: 48
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 412
  • 用 户 组: 普通用户
  • 注册时间: 2013-04-24 10:27
个人简介

Continuous pursuit technical details

文章分类

全部博文(48)

文章存档

2014年(1)

2013年(47)

发布时间:2013-12-10 15:16:16

#include  <unistd.h>#include  <sys/types.h>       /* basic system data types */#include  <sys/socket.h>      /* basic socket definitions */#include  <netinet/in.h>      /* sockaddr_in{} and other Internet defns */#include  .........【阅读全文】

阅读(1463) | 评论(0) | 转发(0)

发布时间:2013-12-10 15:13:37

#include  <unistd.h>#include  <sys/types.h>       /* basic system data types */#include  <sys/socket.h>      /* basic socket definitions */#include  <netinet/in.h>      /* sockaddr_in{} and other Internet defns */#include  <ar.........【阅读全文】

阅读(1390) | 评论(0) | 转发(0)

发布时间:2013-12-10 15:12:08

#include <sys/types.h>#include <sys/socket.h>#include <string.h>#include <netinet/in.h>#include <stdio.h>#include <stdlib.h>#include <sys/stat.h>#include<fcntl.h>#include <unistd.h>#include <time.h>#include "/usr/include/errno.h"#define MAXLINE 10240#define SERV_PORT 18002extern int e.........【阅读全文】

阅读(1334) | 评论(0) | 转发(0)

发布时间:2013-12-10 15:11:17

#include <sys/types.h>#include <sys/socket.h>#include <string.h>#include <netinet/in.h>#include <stdio.h>#include <stdlib.h>#include <arpa/inet.h>#include <unistd.h>#define MAXLINE 10240#define SERV_PORT 9987void do_cli(FILE *fp, int sockfd, struct sockaddr *pservaddr, socklen_t servle.........【阅读全文】

阅读(1278) | 评论(0) | 转发(0)

发布时间:2013-12-10 15:10:20

#include <arpa/inet.h>#include <netinet/in.h>#include <stdio.h>#include <sys/types.h>#include <sys/socket.h>#include <unistd.h>#define BUFLEN 512#define NPACK 10#define PORT 9930void diep(char *s){perror(s);exit(1);}int main(void){struct sockaddr_in si_me, si_other;int s, i, s.........【阅读全文】

阅读(1363) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册