Exemplo n.º 1
0
 public static function Bind()
 {
     if (file_exists(self::$File)) {
         unlink(self::$File);
     }
     self::$Socket_Bind = socket_bind(self::$Socket, self::$File);
     if (self::$Socket_Bind !== false) {
         return true;
     } else {
         return false;
     }
 }