- int RecvHdr(int sock);
- int RecvLogin(int sock);
- int SendLoginAnswer(int sock);
- int SendHdrAnswer(int sock, int err);
- int RecvLoginS(int sock);
- int SendLoginSAnswer(int sock, int err);
- int RecvData(int sock);
- int SendDataAnswer(int sock, const std::string & answer);
- int SendError(int sock, const std::string & text);
- void WriteLogAccessFailed(uint32_t ip);
-
- int ParseCommand();