| 104 | |
| 105 | |
| 106 | void DialogSocket::sendMessage(const std::string& message) |
| 107 | { |
| 108 | std::string line; |
| 109 | line.reserve(message.length() + 2); |
| 110 | line.append(message); |
| 111 | line.append("\r\n"); |
| 112 | sendString(line); |
| 113 | } |
| 114 | |
| 115 | |
| 116 | void DialogSocket::sendMessage(const std::string& message, const std::string& arg) |