Continuous pursuit technical details
发布时间: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.........【阅读全文】
发布时间: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.........【阅读全文】
发布时间: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.........【阅读全文】
发布时间: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.........【阅读全文】
发布时间:2013-12-09 11:25:07
#!/bin/kshexport TERMINFO=$HOME/lib/terminfo#------------------------------------------------------------------------## Setting up TERM type by prompting at login ##-----------------------------.........【阅读全文】