Searched refs:protoid (Results 1 – 1 of 1) sorted by relevance
2408 int protoid; local2409 socklen_t protoidlen = sizeof(protoid);2411 getsockopt(socket->bsd_socket, SOL_SOCKET, SO_TYPE, (char *) &protoid, &protoidlen);2413 if (protoid == SOCK_STREAM) {2416 protoidlen = sizeof(protoid);2417 getsockopt(socket->bsd_socket, SOL_SOCKET, SO_PROTOCOL, (char *) &protoid, &protoidlen);2418 if (protoid == IPPROTO_TCP)2424 } else if (protoid == SOCK_DGRAM) {
Completed in 10 milliseconds