Can be called by a separated thread (socketmanager handle thread)
| 172 | |
| 173 | // Can be called by a separated thread (socketmanager handle thread) |
| 174 | bool onConnection() { |
| 175 | lock_guard<mutex> lock(_mutexAsync); |
| 176 | bool result(_connecting); |
| 177 | _connecting = false; |
| 178 | return result; |
| 179 | } |
| 180 | |
| 181 | NET_SOCKET acceptConnection(Exception& ex,SocketAddress& address) { |
| 182 | ASSERT_RETURN(_initialized, NET_INVALID_SOCKET) |
nothing calls this directly
no outgoing calls
no test coverage detected