| 901 | } |
| 902 | |
| 903 | void SrtCommon::PrepareClient() |
| 904 | { |
| 905 | m_sock = srt_create_socket(); |
| 906 | if (m_sock == SRT_ERROR) |
| 907 | Error("srt_create_socket"); |
| 908 | |
| 909 | int stat = ConfigurePre(m_sock); |
| 910 | if (stat == SRT_ERROR) |
| 911 | Error("ConfigurePre"); |
| 912 | |
| 913 | if (!m_blocking_mode) |
| 914 | { |
| 915 | srt_conn_epoll = AddPoller(m_sock, SRT_EPOLL_CONNECT | SRT_EPOLL_ERR); |
| 916 | } |
| 917 | |
| 918 | } |
| 919 | |
| 920 | #if ENABLE_BONDING |
| 921 | void TransmitGroupSocketConnect(void* srtcommon, SRTSOCKET sock, int error, const sockaddr* /*peer*/, int token) |
nothing calls this directly
no test coverage detected