Searched refs:protoid (Results 1 – 1 of 1) sorted by relevance
2294 int protoid; local2295 socklen_t protoidlen = sizeof(protoid);2297 getsockopt(socket->bsd_socket, SOL_SOCKET, SO_TYPE, (char *) &protoid, &protoidlen);2299 if (protoid == SOCK_STREAM) {2302 protoidlen = sizeof(protoid);2303 getsockopt(socket->bsd_socket, SOL_SOCKET, SO_PROTOCOL, (char *) &protoid, &protoidlen);2304 if (protoid == IPPROTO_TCP)2310 } else if (protoid == SOCK_DGRAM) {
Completed in 8 milliseconds