Lines Matching defs:prot
601 const char *prot, *p;
695 if (lws_parse_uri(argv[optind], &prot, &i.address, &i.port, &p))
706 if (!strcmp(prot, "http") || !strcmp(prot, "ws"))
708 if (!strcmp(prot, "https") || !strcmp(prot, "wss"))
797 if (!strcmp(prot, "http") || !strcmp(prot, "https")) {
798 lwsl_notice("using %s mode (non-ws)\n", prot);
807 if (!strcmp(prot, "raw")) {
813 lwsl_notice("using %s mode (ws)\n", prot);