?? server.h
字號(hào):
// // File: server.h// Author: root//// Created on February 19, 2008, 9:34 AM//#ifndef _SERVER_H#define _SERVER_H#include <vector>#include <iostream>#include <string>#include "client.h"using namespace std;class server{public: server(int port); ~server(); bool update(bool block); vector<client *> clients; enum {MAXCLIENTS = 11}; void kill(){ _kill = true; }private: int _fd; bool _kill;};#endif /* _SERVER_H */
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -