Changeset 61 in cheroxy for trunk/include/CRXSocket.h
- Timestamp:
- 01/25/13 17:54:39 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/CRXSocket.h
r59 r61 36 36 #define ERROR_TCPSOCKET_FAILED_TO_SET_SOCKOPT ERROR_TCPSOCKET - 12 37 37 #define ERROR_TCPSOCKET_FAILED_TO_SET_TIMEOUT ERROR_TCPSOCKET - 13 38 #define ERROR_TCPSOCKET_FAILED_TO_GET_SOCKOPT ERROR_TCPSOCKET - 14 38 39 39 40 class CRXSocket : public CRXException 40 41 { 41 42 private: 42 static bool mInitialized;43 43 struct sockaddr_in mAddress; 44 44 int mSocket; … … 73 73 * common functions 74 74 */ 75 CRXSocket (int aSocket = 0);75 CRXSocket (int aSocket = -1); 76 76 77 77 ~CRXSocket (void); … … 86 86 87 87 CRXSocket & operator = (int aSocket); 88 89 int GetOption (const int aOptName, 90 void * aOptVal, 91 size_t * aOptLen); 88 92 89 93 int SetOption (const int aOptName,
Note:
See TracChangeset
for help on using the changeset viewer.