| 1309 | static std::map<SRTSOCKET, TransmitErrorReason> transmit_error_storage; |
| 1310 | |
| 1311 | static void TransmitConnectCallback(void*, SRTSOCKET socket, int errorcode, const sockaddr* /*peer*/, int /*token*/) |
| 1312 | { |
| 1313 | int reason = srt_getrejectreason(socket); |
| 1314 | transmit_error_storage[socket] = TransmitErrorReason { errorcode, reason }; |
| 1315 | Verb() << "[Connection error reported on @" << socket << "]"; |
| 1316 | } |
| 1317 | |
| 1318 | void SrtCommon::ConnectClient(string host, int port) |
| 1319 | { |
nothing calls this directly
no test coverage detected