sock_type
sock_type type;
new_socket(sock_type type, int fd)
int sock_family, sock_type, sock_protocol, sock_port;
sock_type = BIO_ADDRINFO_socktype(res);
if (tfo && sock_type == SOCK_STREAM)
&& BIO_ADDRINFO_socktype(next) == sock_type
asock = BIO_socket(sock_family, sock_type, sock_protocol, 0);
asock = BIO_socket(sock_family_fallback, sock_type, sock_protocol, 0);
if (uc_cfg.sock_type == SOCK_STREAM) {
if (uc_cfg.sock_type == SOCK_STREAM && fd2 >= 0)
if (uc_cfg.sock_type == SOCK_STREAM && fd2 >= 0)
if (uc_cfg.sock_type == SOCK_STREAM) {
if (uc_cfg.sock_type == SOCK_STREAM && fd2 >= 0)
if (uc_cfg.sock_type == SOCK_STREAM) {
if (i == 1 || uc_cfg.sock_type == SOCK_DGRAM) {
if (uc_cfg.sock_type == SOCK_STREAM) {
if (i > 1 && uc_cfg.sock_type == SOCK_STREAM) {
if (uc_cfg.sock_type == SOCK_STREAM && fd2 >= 0)
fd = socket(PF_LOCAL, uc_cfg.sock_type, 0);
if (uc_cfg.sock_type == SOCK_STREAM) {
int sock_type;
uc_cfg.sock_type = type;