xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 35KB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2021-01-07
  • 標簽: linux??網聊??

資源簡介

一個基于linux系統下,用c語言開發的網上聊天程序,可登錄注冊,直接make編譯,可私聊群聊

資源截圖

代碼片段和文件信息

#include?“client.h“

#define?CMD_LEN?1024
FILE?*fp?=?NULL;
int?sock_fd;
int?SERVER_PORT;
char?*SERVER_ADDR;
int?opterr?=?0;

u_int32_t?ID_self;

struct?user?u_friend[MAXUSER];
struct?user?u_online[MAXUSER];
struct?user?u_deny[MAXUSER];
struct?user?u_group[MAXUSER];
int?num_friend_record;
int?num_online_record;
int?num_deny_record;

static?struct?option?const?long_options[]?={
{“version“?no_argument?0?‘v‘}
{“h“?required_argument?0?‘h‘}
{“p“?required_argument?0?‘p‘}
};

//對命令行參數解析,并判斷輸入是否正確,錯誤則進入help幫助信息
static?void?param_parse(int?argc?char?**argv)
{
????????int?c;
????????char?*str;
????????while?((c=getopt_long(argc?argv?“p:h:v“?long_options?NULL))!=-1){
????????????????switch(c){
????????????????????????case?‘p‘:
????????????????????????????????str?=?optarg;
?????????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????6818??2012-06-19?10:29??chatroom\serverchat\chat_server.c

?????文件???????5868??2012-06-19?10:29??chatroom\serverchat\fn_extend.c

?????文件???????4872??2012-06-19?10:29??chatroom\serverchat\friend_manage.c

?????文件???????7113??2012-06-19?10:29??chatroom\serverchat\group_manage.c

?????文件???????2725??2012-06-19?10:29??chatroom\serverchat\head.h

?????文件???????2298??2012-06-19?10:29??chatroom\serverchat\list.c

?????文件???????1026??2012-06-19?10:29??chatroom\serverchat\list.h

?????文件????????428??2012-06-19?10:29??chatroom\serverchat\Makefile

?????文件???????2746??2012-06-19?10:29??chatroom\serverchat\message_manage.c

?????文件???????1386??2012-06-19?10:29??chatroom\serverchat\monitor.c

?????文件????????948??2012-06-19?10:29??chatroom\serverchat\proto.h

?????文件???????3031??2012-06-19?10:29??chatroom\serverchat\reg_manage.c

?????文件??????34040??2012-06-19?10:29??chatroom\clientchat\client

?????文件???????7143??2012-06-19?10:29??chatroom\clientchat\client.c

?????文件???????1486??2012-06-19?10:29??chatroom\clientchat\client.h

?????文件????????150??2012-06-19?10:29??chatroom\clientchat\debug.h

?????文件????????348??2012-06-19?10:29??chatroom\clientchat\Makefile

?????文件??????14197??2012-06-19?10:29??chatroom\clientchat\module.c

?????文件???????9334??2012-06-19?10:29??chatroom\clientchat\my_listen.c

?????文件???????4060??2012-06-19?10:29??chatroom\clientchat\print_ui.c

?????文件?????????55??2012-06-19?10:29??chatroom\clientchat\progname.c

?????文件????????852??2012-06-19?10:29??chatroom\clientchat\proto.h

?????目錄??????????0??2012-06-19?10:29??chatroom\serverchat

?????目錄??????????0??2012-06-19?10:29??chatroom\clientchat

?????目錄??????????0??2012-08-28?21:28??chatroom

-----------?---------??----------?-----??----

???????????????110924????????????????????25


評論

共有 條評論