Lines Matching refs:SOCK_STREAM
721 if (args->type == SOCK_STREAM) { in send_msg()
887 if (args->type == SOCK_STREAM) in socket_read()
902 if (type == SOCK_STREAM) { in stdin_to_socket()
948 if (args->type != SOCK_STREAM) in msg_loop()
1161 if (args->type == SOCK_STREAM && listen(sd, 1) < 0) { in lsock_init()
1209 if (args->type != SOCK_STREAM) { in do_server()
1333 if (args->type != SOCK_STREAM) in connectsock()
1408 if (args->type == SOCK_STREAM) { in do_client()
1617 .type = SOCK_STREAM, in main()
1762 ((!args.has_remote_ip && !args.prefix_len) || args.type != SOCK_STREAM)) { in main()
1784 if (args.type == SOCK_STREAM && !args.protocol) in main()
1789 if ((args.type == SOCK_STREAM || args.type == SOCK_DGRAM) && in main()