| 134 | } |
| 135 | |
| 136 | void CCppNetImpl::SetAcceptCallback(const connection_call_back& func) { |
| 137 | _accept_call_back = func; |
| 138 | } |
| 139 | |
| 140 | bool CCppNetImpl::ListenAndAccept(const std::string& ip, uint16_t port) { |
| 141 | if (!_accept_call_back) { |
nothing calls this directly
no outgoing calls
no test coverage detected