| 13 | using namespace cppnet; |
| 14 | |
| 15 | struct Content { |
| 16 | FileHeader _head; |
| 17 | STATUS _status; |
| 18 | Content() { |
| 19 | _status = hello; |
| 20 | _file = nullptr; |
| 21 | } |
| 22 | ~Content() { |
| 23 | if (_file) { |
| 24 | delete _file; |
| 25 | } |
| 26 | } |
| 27 | std::fstream* _file; |
| 28 | }; |
| 29 | |
| 30 | std::map<Handle, Content> _recv_map; |
| 31 |