⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 server.c

📁 Linux 下的socket客户端服务端代码
💻 C
字号:
/***************************************************************************main.c  -  description-------------------begin                : Wed May 21 00:26:57 HKT 2003copyright            : (C) |YEAR| by ho2003bsemail                : honeycombs@sina.com***************************************************************************//****************************************************************************                                                                         **   This program is free software; you can redistribute it and/or modify  **   it under the terms of the GNU General Public License as published by  **   the Free Software Foundation; either version 2 of the License, or     **   (at your option) any later version.                                   **                                                                         ****************************************************************************/#ifdef HAVE_CONFIG_H#include <config.h>#endif#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <sys/types.h>#include <sys/time.h>#include "serverdlg.h"int main(int argc, char *argv[]){        int ret=0;        ret=Server_Open();    if(!ret)        return 1;        printf("\n Press any key to quit...");        input_timeout(STDIN_FILENO,3600);        Server_Close();    return 0;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -