public   static   int    EventUtil::getSocketFd    (     mixed     $socket      )

EventUtil::getSocketFdReturns numeric file descriptor of a socket, or stream

socket

Socket resource or stream.