| 202 | } |
| 203 | |
| 204 | bool |
| 205 | IPEndpoint::parse(std::string_view const &str) { |
| 206 | if (IPSrv srv; srv.load(TextView(str).trim_if(&isspace))) { |
| 207 | this->assign(srv); |
| 208 | return true; |
| 209 | } |
| 210 | return false; |
| 211 | } |
| 212 | |
| 213 | socklen_t |
| 214 | IPEndpoint::size() const { |
no test coverage detected