Searched refs:consock (Results 1 – 1 of 1) sorted by relevance
1302 int consock = INVALID_SOCKET; in create_sctp_socks() local1350 consock = BIO_socket(family, SOCK_STREAM, IPPROTO_SCTP, 0); in create_sctp_socks()1351 if (consock == INVALID_SOCKET) in create_sctp_socks()1354 if (!set_sock_as_sctp(consock) in create_sctp_socks()1355 || !BIO_connect(consock, BIO_ADDRINFO_address(res), 0) in create_sctp_socks()1356 || !BIO_socket_nbio(consock, 1)) in create_sctp_socks()1363 *csock = consock; in create_sctp_socks()1365 consock = asock = INVALID_SOCKET; in create_sctp_socks()1370 if (consock != INVALID_SOCKET) in create_sctp_socks()1371 BIO_closesocket(consock); in create_sctp_socks()