Home
last modified time | relevance | path

Searched refs:protoid (Results 1 – 1 of 1) sorted by relevance

/php-src/ext/sockets/
H A Dsockets.c2461 int protoid; local
2462 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 12 milliseconds