Searched refs:protoid (Results 1 – 1 of 1) sorted by relevance
2461 int protoid; local2462 socklen_t protoidlen = sizeof(protoid);2464 getsockopt(socket->bsd_socket, SOL_SOCKET, SO_TYPE, (char *) &protoid, &protoidlen);2466 if (protoid == SOCK_STREAM) {2469 protoidlen = sizeof(protoid);2470 getsockopt(socket->bsd_socket, SOL_SOCKET, SO_PROTOCOL, (char *) &protoid, &protoidlen);2471 if (protoid == IPPROTO_TCP)2477 } else if (protoid == SOCK_DGRAM) {
Completed in 9 milliseconds