Home
last modified time | relevance | path

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

/PHP-7.0/ext/sockets/
H A Dsockets.c2393 int protoid; local
2394 socklen_t protoidlen = sizeof(protoid);
2396 getsockopt(socket->bsd_socket, SOL_SOCKET, SO_TYPE, (char *) &protoid, &protoidlen);
2398 if (protoid == SOCK_STREAM) {
2401 protoidlen = sizeof(protoid);
2402 getsockopt(socket->bsd_socket, SOL_SOCKET, SO_PROTOCOL, (char *) &protoid, &protoidlen);
2403 if (protoid == IPPROTO_TCP)
2409 } else if (protoid == SOCK_DGRAM) {

Completed in 8 milliseconds