?? sever.h
字號:
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <netinet/in.h>
#include <sys/wait.h>
#include <sys/socket.h>
#include <ctype.h>
#define MYPORT 3000 /*定義服務器的監聽端口*/
#define BACKLOG 10 /*BACKLOG指定在請求隊列中允許的最大請求數,進入的連接請求將在隊列中等待accept()函數接受它們*/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -