?? client.h
字號:
// // File: client.h// Author: root//// Created on February 19, 2008, 9:36 AM//#ifndef _CLIENT_H#define _CLIENT_H#include <sys/socket.h>#include <sys/errno.h>#include <sys/types.h>#include <netinet/in.h>#include <arpa/inet.h>#include <fcntl.h>#include <stdio.h>#include <string>#include <iostream>using namespace std;class client{public: enum {BUFFERSIZE = 1024}; client(int fd,struct sockaddr_in sinaddr,int timeout); ~client(); bool update(); string _value;private: int _fd; int _timeout; char *buffer;};#endif /* _CLIENT_H */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -