1<?php 2 3/** @generate-class-entries */ 4 5/** 6 * @var int 7 * @cvalue AF_UNIX 8 */ 9const AF_UNIX = UNKNOWN; 10/** 11 * @var int 12 * @cvalue AF_INET 13 */ 14const AF_INET = UNKNOWN; 15#ifdef HAVE_IPV6 16/** 17 * @var int 18 * @cvalue AF_INET6 19 */ 20const AF_INET6 = UNKNOWN; 21#endif 22#ifdef AF_DIVERT 23/** 24 * @var int 25 * @cvalue AF_DIVERT 26 */ 27const AF_DIVERT = UNKNOWN; 28#endif 29/** 30 * @var int 31 * @cvalue SOCK_STREAM 32 */ 33const SOCK_STREAM = UNKNOWN; 34/** 35 * @var int 36 * @cvalue SOCK_DGRAM 37 */ 38const SOCK_DGRAM = UNKNOWN; 39/** 40 * @var int 41 * @cvalue SOCK_RAW 42 */ 43const SOCK_RAW = UNKNOWN; 44/** 45 * @var int 46 * @cvalue SOCK_SEQPACKET 47 */ 48const SOCK_SEQPACKET = UNKNOWN; 49#ifdef SOCK_RDM 50/** 51 * @var int 52 * @cvalue SOCK_RDM 53 */ 54const SOCK_RDM = UNKNOWN; 55#endif 56#ifdef SOCK_CONN_DGRAM 57/** 58 * @var int 59 * @cvalue SOCK_CONN_DGRAM 60 */ 61const SOCK_CONN_DGRAM = UNKNOWN; 62#endif 63#ifdef SOCK_DCCP 64/** 65 * is an alias of SOCK_CONN_DGRAM on some platforms 66 * @var int 67 * @cvalue SOCK_DCCP 68 */ 69const SOCK_DCCP = UNKNOWN; 70#endif 71#ifdef SOCK_CLOEXEC 72/** 73 * @var int 74 * @cvalue SOCK_CLOEXEC 75 */ 76const SOCK_CLOEXEC = UNKNOWN; 77#endif 78#ifdef SOCK_NONBLOCK 79/** 80 * @var int 81 * @cvalue SOCK_NONBLOCK 82 */ 83const SOCK_NONBLOCK = UNKNOWN; 84#endif 85 86/** 87 * @var int 88 * @cvalue MSG_OOB 89 */ 90const MSG_OOB = UNKNOWN; 91/** 92 * @var int 93 * @cvalue MSG_WAITALL 94 */ 95const MSG_WAITALL = UNKNOWN; 96/** 97 * @var int 98 * @cvalue MSG_CTRUNC 99 */ 100const MSG_CTRUNC = UNKNOWN; 101/** 102 * @var int 103 * @cvalue MSG_TRUNC 104 */ 105const MSG_TRUNC = UNKNOWN; 106/** 107 * @var int 108 * @cvalue MSG_PEEK 109 */ 110const MSG_PEEK = UNKNOWN; 111/** 112 * @var int 113 * @cvalue MSG_DONTROUTE 114 */ 115const MSG_DONTROUTE = UNKNOWN; 116#ifdef MSG_EOR 117/** 118 * @var int 119 * @cvalue MSG_EOR 120 */ 121const MSG_EOR = UNKNOWN; 122#endif 123#ifdef MSG_EOF 124/** 125 * @var int 126 * @cvalue MSG_EOF 127 */ 128const MSG_EOF = UNKNOWN; 129#endif 130 131#ifdef MSG_CONFIRM 132/** 133 * @var int 134 * @cvalue MSG_CONFIRM 135 */ 136const MSG_CONFIRM = UNKNOWN; 137#endif 138#ifdef MSG_ERRQUEUE 139/** 140 * @var int 141 * @cvalue MSG_ERRQUEUE 142 */ 143const MSG_ERRQUEUE = UNKNOWN; 144#endif 145#ifdef MSG_NOSIGNAL 146/** 147 * @var int 148 * @cvalue MSG_NOSIGNAL 149 */ 150const MSG_NOSIGNAL = UNKNOWN; 151#endif 152#ifdef MSG_DONTWAIT 153/** 154 * @var int 155 * @cvalue MSG_DONTWAIT 156 */ 157const MSG_DONTWAIT = UNKNOWN; 158#endif 159#ifdef MSG_MORE 160/** 161 * @var int 162 * @cvalue MSG_MORE 163 */ 164const MSG_MORE = UNKNOWN; 165#endif 166#ifdef MSG_WAITFORONE 167/** 168 * @var int 169 * @cvalue MSG_WAITFORONE 170 */ 171const MSG_WAITFORONE = UNKNOWN; 172#endif 173#ifdef MSG_CMSG_CLOEXEC 174/** 175 * @var int 176 * @cvalue MSG_CMSG_CLOEXEC 177 */ 178const MSG_CMSG_CLOEXEC = UNKNOWN; 179#endif 180#ifdef MSG_ZEROCOPY 181/** 182 * @var int 183 * @cvalue MSG_ZEROCOPY 184 */ 185const MSG_ZEROCOPY = UNKNOWN; 186#endif 187 188/** 189 * @var int 190 * @cvalue SO_DEBUG 191 */ 192const SO_DEBUG = UNKNOWN; 193/** 194 * @var int 195 * @cvalue SO_REUSEADDR 196 */ 197const SO_REUSEADDR = UNKNOWN; 198#ifdef SO_REUSEPORT 199/** 200 * @var int 201 * @cvalue SO_REUSEPORT 202 */ 203const SO_REUSEPORT = UNKNOWN; 204#endif 205#ifdef SO_REUSEPORT_LB 206/** 207 * @var int 208 * @cvalue SO_REUSEPORT_LB 209 */ 210const SO_REUSEPORT_LB = UNKNOWN; 211#endif 212/** 213 * @var int 214 * @cvalue SO_KEEPALIVE 215 */ 216const SO_KEEPALIVE = UNKNOWN; 217/** 218 * @var int 219 * @cvalue SO_DONTROUTE 220 */ 221const SO_DONTROUTE = UNKNOWN; 222/** 223 * @var int 224 * @cvalue SO_LINGER 225 */ 226const SO_LINGER = UNKNOWN; 227#ifdef SO_LINGER_SEC 228/** 229 * @var int 230 * @cvalue SO_LINGER_SEC 231 */ 232const SO_LINGER_SEC = UNKNOWN; 233#endif 234/** 235 * @var int 236 * @cvalue SO_BROADCAST 237 */ 238const SO_BROADCAST = UNKNOWN; 239/** 240 * @var int 241 * @cvalue SO_OOBINLINE 242 */ 243const SO_OOBINLINE = UNKNOWN; 244/** 245 * @var int 246 * @cvalue SO_SNDBUF 247 */ 248const SO_SNDBUF = UNKNOWN; 249/** 250 * @var int 251 * @cvalue SO_RCVBUF 252 */ 253const SO_RCVBUF = UNKNOWN; 254/** 255 * @var int 256 * @cvalue SO_SNDLOWAT 257 */ 258const SO_SNDLOWAT = UNKNOWN; 259/** 260 * @var int 261 * @cvalue SO_RCVLOWAT 262 */ 263const SO_RCVLOWAT = UNKNOWN; 264/** 265 * @var int 266 * @cvalue SO_SNDTIMEO 267 */ 268const SO_SNDTIMEO = UNKNOWN; 269/** 270 * @var int 271 * @cvalue SO_RCVTIMEO 272 */ 273const SO_RCVTIMEO = UNKNOWN; 274/** 275 * @var int 276 * @cvalue SO_TYPE 277 */ 278const SO_TYPE = UNKNOWN; 279#ifdef SO_FAMILY 280/** 281 * @var int 282 * @cvalue SO_FAMILY 283 */ 284const SO_FAMILY = UNKNOWN; 285#endif 286/** 287 * @var int 288 * @cvalue SO_ERROR 289 */ 290const SO_ERROR = UNKNOWN; 291#ifdef SO_BINDTODEVICE 292/** 293 * @var int 294 * @cvalue SO_BINDTODEVICE 295 */ 296const SO_BINDTODEVICE = UNKNOWN; 297#endif 298#ifdef SO_BINDTOIFINDEX 299/** 300 * @var int 301 * @cvalue SO_BINDTOIFINDEX 302 */ 303const SO_BINDTOIFINDEX = UNKNOWN; 304#endif 305#ifdef SO_USER_COOKIE 306/** 307 * @var int 308 * @cvalue SO_LABEL 309 */ 310const SO_LABEL = UNKNOWN; 311/** 312 * @var int 313 * @cvalue SO_PEERLABEL 314 */ 315const SO_PEERLABEL = UNKNOWN; 316/** 317 * @var int 318 * @cvalue SO_LISTENQLIMIT 319 */ 320const SO_LISTENQLIMIT = UNKNOWN; 321/** 322 * @var int 323 * @cvalue SO_LISTENQLEN 324 */ 325const SO_LISTENQLEN = UNKNOWN; 326/** 327 * @var int 328 * @cvalue SO_USER_COOKIE 329 */ 330const SO_USER_COOKIE = UNKNOWN; 331#endif 332#ifdef SO_SETFIB 333/** 334 * @var int 335 * @cvalue SO_SETFIB 336 */ 337const SO_SETFIB = UNKNOWN; 338#endif 339#ifdef SO_ACCEPTFILTER 340/** 341 * @var int 342 * @cvalue SO_ACCEPTFILTER 343 */ 344const SO_ACCEPTFILTER = UNKNOWN; 345#endif 346#ifdef SO_RERROR 347/** 348 * @var int 349 * @cvalue SO_RERROR 350 */ 351const SO_RERROR = UNKNOWN; 352#endif 353#ifdef SO_SOPLICE 354/** 355 * @var int 356 * @cvalue SO_SPLICE 357 */ 358const SO_SPLICE = UNKNOWN; 359#endif 360#ifdef SO_ZEROIZE 361/** 362 * @var int 363 * @cvalue SO_ZEROIZE 364 */ 365const SO_ZEROIZE = UNKNOWN; 366#endif 367#ifdef SOL_FILTER 368/** 369 * @var int 370 * @cvalue SOL_FILTER 371 */ 372const SOL_FILTER = UNKNOWN; 373/** 374 * @var int 375 * @cvalue FIL_ATTACH 376 */ 377const FIL_ATTACH = UNKNOWN; 378/** 379 * @var int 380 * @cvalue FIL_DETACH 381 */ 382const FIL_DETACH = UNKNOWN; 383#endif 384#ifdef SO_DONTTRUNC 385/** 386 * @var int 387 * @cvalue SO_DONTTRUNC 388 */ 389const SO_DONTTRUNC = UNKNOWN; 390#endif 391#ifdef SO_WANTMORE 392/** 393 * @var int 394 * @cvalue SO_WANTMORE 395 */ 396const SO_WANTMORE = UNKNOWN; 397#endif 398/** 399 * @var int 400 * @cvalue SOL_SOCKET 401 */ 402const SOL_SOCKET = UNKNOWN; 403/** 404 * @var int 405 * @cvalue SOMAXCONN 406 */ 407const SOMAXCONN = UNKNOWN; 408#ifdef SO_MARK 409/** 410 * @var int 411 * @cvalue SO_MARK 412 */ 413const SO_MARK = UNKNOWN; 414#endif 415#ifdef SO_RTABLE 416/** 417 * @var int 418 * @cvalue SO_RTABLE 419 */ 420const SO_RTABLE = UNKNOWN; 421#endif 422#ifdef SO_INCOMING_CPU 423/** 424 * @var int 425 * @cvalue SO_INCOMING_CPU 426 */ 427const SO_INCOMING_CPU = UNKNOWN; 428#endif 429#ifdef SO_MEMINFO 430/** 431 * @var int 432 * @cvalue SO_MEMINFO 433 */ 434const SO_MEMINFO = UNKNOWN; 435#endif 436#ifdef SO_BPF_EXTENSIONS 437/** 438 * @var int 439 * @cvalue SO_BPF_EXTENSIONS 440 */ 441const SO_BPF_EXTENSIONS = UNKNOWN; 442#endif 443#ifdef SO_EXCLBIND 444/** 445 * @var int 446 * @cvalue SO_EXCLBIND 447 */ 448const SO_EXCLBIND = UNKNOWN; 449#endif 450#ifdef SKF_AD_OFF 451/** 452 * @var int 453 * @cvalue SKF_AD_OFF 454 */ 455const SKF_AD_OFF = UNKNOWN; 456#endif 457#ifdef SKF_AD_PROTOCOL 458/** 459 * @var int 460 * @cvalue SKF_AD_PROTOCOL 461 */ 462const SKF_AD_PROTOCOL = UNKNOWN; 463#endif 464#ifdef SKF_AD_PKTTYPE 465/** 466 * @var int 467 * @cvalue SKF_AD_PKTTYPE 468 */ 469const SKF_AD_PKTTYPE = UNKNOWN; 470#endif 471#ifdef SKF_AD_IFINDEX 472/** 473 * @var int 474 * @cvalue SKF_AD_IFINDEX 475 */ 476const SKF_AD_IFINDEX = UNKNOWN; 477#endif 478#ifdef SKF_AD_NLATTR 479/** 480 * @var int 481 * @cvalue SKF_AD_NLATTR 482 */ 483const SKF_AD_NLATTR = UNKNOWN; 484#endif 485#ifdef SKF_AD_NLATTR_NEST 486/** 487 * @var int 488 * @cvalue SKF_AD_NLATTR_NEST 489 */ 490const SKF_AD_NLATTR_NEST = UNKNOWN; 491#endif 492#ifdef SKF_AD_MARK 493/** 494 * @var int 495 * @cvalue SKF_AD_MARK 496 */ 497const SKF_AD_MARK = UNKNOWN; 498#endif 499#ifdef SKF_AD_QUEUE 500/** 501 * @var int 502 * @cvalue SKF_AD_QUEUE 503 */ 504const SKF_AD_QUEUE = UNKNOWN; 505#endif 506#ifdef SKF_AD_HATYPE 507/** 508 * @var int 509 * @cvalue SKF_AD_HATYPE 510 */ 511const SKF_AD_HATYPE = UNKNOWN; 512#endif 513#ifdef SKF_AD_RXHASH 514/** 515 * @var int 516 * @cvalue SKF_AD_RXHASH 517 */ 518const SKF_AD_RXHASH = UNKNOWN; 519#endif 520#ifdef SKF_AD_CPU 521/** 522 * @var int 523 * @cvalue SKF_AD_CPU 524 */ 525const SKF_AD_CPU = UNKNOWN; 526#endif 527#ifdef SKF_AD_ALU_XOR_X 528/** 529 * @var int 530 * @cvalue SKF_AD_ALU_XOR_X 531 */ 532const SKF_AD_ALU_XOR_X = UNKNOWN; 533#endif 534#ifdef SKF_AD_VLAN_TAG 535/** 536 * @var int 537 * @cvalue SKF_AD_VLAN_TAG 538 */ 539const SKF_AD_VLAN_TAG = UNKNOWN; 540#endif 541#ifdef SKF_AD_VLAN_TAG_PRESENT 542/** 543 * @var int 544 * @cvalue SKF_AD_VLAN_TAG_PRESENT 545 */ 546const SKF_AD_VLAN_TAG_PRESENT = UNKNOWN; 547#endif 548#ifdef SKF_AD_PAY_OFFSET 549/** 550 * @var int 551 * @cvalue SKF_AD_PAY_OFFSET 552 */ 553const SKF_AD_PAY_OFFSET = UNKNOWN; 554#endif 555#ifdef SKF_AD_RANDOM 556/** 557 * @var int 558 * @cvalue SKF_AD_RANDOM 559 */ 560const SKF_AD_RANDOM = UNKNOWN; 561#endif 562#ifdef SKF_AD_VLAN_TPID 563/** 564 * @var int 565 * @cvalue SKF_AD_VLAN_TPID 566 */ 567const SKF_AD_VLAN_TPID = UNKNOWN; 568#endif 569#ifdef SKF_AD_MAX 570/** 571 * @var int 572 * @cvalue SKF_AD_MAX 573 */ 574const SKF_AD_MAX = UNKNOWN; 575#endif 576 577#ifdef TCP_CONGESTION 578/** 579 * @var int 580 * @cvalue TCP_CONGESTION 581 */ 582const TCP_CONGESTION = UNKNOWN; 583#endif 584#ifdef TCP_SYNCNT 585/** 586 * @var int 587 * @cvalue TCP_SYNCNT 588 */ 589const TCP_SYNCNT = UNKNOWN; 590#endif 591#ifdef SO_ZEROCOPY 592/** 593 * @var int 594 * @cvalue SO_ZEROCOPY 595 */ 596const SO_ZEROCOPY = UNKNOWN; 597#endif 598#ifdef TCP_NODELAY 599/** 600 * @var int 601 * @cvalue TCP_NODELAY 602 */ 603const TCP_NODELAY = UNKNOWN; 604#endif 605#ifdef TCP_NOTSENT_LOWAT 606/** 607 * @var int 608 * @cvalue TCP_NOTSENT_LOWAT 609 */ 610const TCP_NOTSENT_LOWAT = UNKNOWN; 611#endif 612#ifdef TCP_DEFER_ACCEPT 613/** 614 * @var int 615 * @cvalue TCP_DEFER_ACCEPT 616 */ 617const TCP_DEFER_ACCEPT = UNKNOWN; 618#endif 619#ifdef TCP_KEEPALIVE 620/** 621 * @var int 622 * @cvalue TCP_KEEPALIVE 623 */ 624const TCP_KEEPALIVE = UNKNOWN; 625#endif 626#ifdef TCP_KEEPIDLE 627/** 628 * @var int 629 * @cvalue TCP_KEEPIDLE 630 */ 631const TCP_KEEPIDLE = UNKNOWN; 632/** 633 * @var int 634 * @cvalue TCP_KEEPINTVL 635 */ 636const TCP_KEEPINTVL = UNKNOWN; 637/** 638 * @var int 639 * @cvalue TCP_KEEPCNT 640 */ 641const TCP_KEEPCNT = UNKNOWN; 642#endif 643#ifdef TCP_FUNCTION_BLK 644/** 645 * @var int 646 * @cvalue TCP_FUNCTION_BLK 647 */ 648const TCP_FUNCTION_BLK = UNKNOWN; 649#endif 650/** 651 * @var int 652 * @cvalue PHP_NORMAL_READ 653 */ 654const PHP_NORMAL_READ = UNKNOWN; 655/** 656 * @var int 657 * @cvalue PHP_BINARY_READ 658 */ 659const PHP_BINARY_READ = UNKNOWN; 660 661/** 662 * @var int 663 * @cvalue PHP_MCAST_JOIN_GROUP 664 */ 665const MCAST_JOIN_GROUP = UNKNOWN; 666/** 667 * @var int 668 * @cvalue PHP_MCAST_LEAVE_GROUP 669 */ 670const MCAST_LEAVE_GROUP = UNKNOWN; 671#ifdef HAS_MCAST_EXT 672/** 673 * @var int 674 * @cvalue PHP_MCAST_BLOCK_SOURCE 675 */ 676const MCAST_BLOCK_SOURCE = UNKNOWN; 677/** 678 * @var int 679 * @cvalue PHP_MCAST_UNBLOCK_SOURCE 680 */ 681const MCAST_UNBLOCK_SOURCE = UNKNOWN; 682/** 683 * @var int 684 * @cvalue PHP_MCAST_JOIN_SOURCE_GROUP 685 */ 686const MCAST_JOIN_SOURCE_GROUP = UNKNOWN; 687/** 688 * @var int 689 * @cvalue PHP_MCAST_LEAVE_SOURCE_GROUP 690 */ 691const MCAST_LEAVE_SOURCE_GROUP = UNKNOWN; 692#endif 693 694/** 695 * @var int 696 * @cvalue IP_MULTICAST_IF 697 */ 698const IP_MULTICAST_IF = UNKNOWN; 699/** 700 * @var int 701 * @cvalue IP_MULTICAST_TTL 702 */ 703const IP_MULTICAST_TTL = UNKNOWN; 704/** 705 * @var int 706 * @cvalue IP_MULTICAST_LOOP 707 */ 708const IP_MULTICAST_LOOP = UNKNOWN; 709#ifdef IP_BIND_ADDRESS_NO_PORT 710/** 711 * @var int 712 * @cvalue IP_BIND_ADDRESS_NO_PORT 713 */ 714const IP_BIND_ADDRESS_NO_PORT = UNKNOWN; 715#endif 716#ifdef HAVE_IPV6 717/** 718 * @var int 719 * @cvalue IPV6_MULTICAST_IF 720 */ 721const IPV6_MULTICAST_IF = UNKNOWN; 722/** 723 * @var int 724 * @cvalue IPV6_MULTICAST_HOPS 725 */ 726const IPV6_MULTICAST_HOPS = UNKNOWN; 727/** 728 * @var int 729 * @cvalue IPV6_MULTICAST_LOOP 730 */ 731const IPV6_MULTICAST_LOOP = UNKNOWN; 732#endif 733 734#ifdef IPV6_V6ONLY 735/** 736 * @var int 737 * @cvalue IPV6_V6ONLY 738 */ 739const IPV6_V6ONLY = UNKNOWN; 740#endif 741 742#ifdef IP_PORTRANGE 743/** 744 * @var int 745 * @cvalue IP_PORTRANGE 746 */ 747const IP_PORTRANGE = UNKNOWN; 748/** 749 * @var int 750 * @cvalue IP_PORTRANGE_DEFAULT 751 */ 752const IP_PORTRANGE_DEFAULT = UNKNOWN; 753/** 754 * @var int 755 * @cvalue IP_PORTRANGE_HIGH 756 */ 757const IP_PORTRANGE_HIGH = UNKNOWN; 758/** 759 * @var int 760 * @cvalue IP_PORTRANGE_LOW 761 */ 762const IP_PORTRANGE_LOW = UNKNOWN; 763#endif 764 765#ifdef EPERM 766/** 767 * Operation not permitted 768 * @var int 769 * @cvalue EPERM 770 */ 771const SOCKET_EPERM = UNKNOWN; 772#endif 773#ifdef ENOENT 774/** 775 * No such file or directory 776 * @var int 777 * @cvalue ENOENT 778 */ 779const SOCKET_ENOENT = UNKNOWN; 780#endif 781#ifdef PHP_SOCKET_EINTR 782/** 783 * Interrupted system call 784 * @var int 785 * @cvalue PHP_SOCKET_EINTR 786 */ 787const SOCKET_EINTR = UNKNOWN; 788#endif 789#ifdef EIO 790/** 791 * I/O error 792 * @var int 793 * @cvalue EIO 794 */ 795const SOCKET_EIO = UNKNOWN; 796#endif 797#ifdef ENXIO 798/** 799 * No such device or address 800 * @var int 801 * @cvalue ENXIO 802 */ 803const SOCKET_ENXIO = UNKNOWN; 804#endif 805#ifdef E2BIG 806/** 807 * Arg list too long 808 * @var int 809 * @cvalue E2BIG 810 */ 811const SOCKET_E2BIG = UNKNOWN; 812#endif 813#ifdef PHP_SOCKET_EBADF 814/** 815 * Bad file number 816 * @var int 817 * @cvalue PHP_SOCKET_EBADF 818 */ 819const SOCKET_EBADF = UNKNOWN; 820#endif 821#ifdef EAGAIN 822/** 823 * Try again 824 * @var int 825 * @cvalue EAGAIN 826 */ 827const SOCKET_EAGAIN = UNKNOWN; 828#endif 829#ifdef ENOMEM 830/** 831 * Out of memory 832 * @var int 833 * @cvalue ENOMEM 834 */ 835const SOCKET_ENOMEM = UNKNOWN; 836#endif 837#ifdef PHP_SOCKET_EACCES 838/** 839 * Permission denied 840 * @var int 841 * @cvalue PHP_SOCKET_EACCES 842 */ 843const SOCKET_EACCES = UNKNOWN; 844#endif 845#ifdef PHP_SOCKET_EFAULT 846/** 847 * Bad address 848 * @var int 849 * @cvalue PHP_SOCKET_EFAULT 850 */ 851const SOCKET_EFAULT = UNKNOWN; 852#endif 853#ifdef ENOTBLK 854/** 855 * Block device required 856 * @var int 857 * @cvalue ENOTBLK 858 */ 859const SOCKET_ENOTBLK = UNKNOWN; 860#endif 861#ifdef EBUSY 862/** 863 * Device or resource busy 864 * @var int 865 * @cvalue EBUSY 866 */ 867const SOCKET_EBUSY = UNKNOWN; 868#endif 869#ifdef EEXIST 870/** 871 * File exists 872 * @var int 873 * @cvalue EEXIST 874 */ 875const SOCKET_EEXIST = UNKNOWN; 876#endif 877#ifdef EXDEV 878/** 879 * Cross-device link 880 * @var int 881 * @cvalue EXDEV 882 */ 883const SOCKET_EXDEV = UNKNOWN; 884#endif 885#ifdef ENODEV 886/** 887 * No such device 888 * @var int 889 * @cvalue ENODEV 890 */ 891const SOCKET_ENODEV = UNKNOWN; 892#endif 893#ifdef ENOTDIR 894/** 895 * Not a directory 896 * @var int 897 * @cvalue ENOTDIR 898 */ 899const SOCKET_ENOTDIR = UNKNOWN; 900#endif 901#ifdef EISDIR 902/** 903 * Is a directory 904 * @var int 905 * @cvalue EISDIR 906 */ 907const SOCKET_EISDIR = UNKNOWN; 908#endif 909#ifdef PHP_SOCKET_EINVAL 910/** 911 * Invalid argument 912 * @var int 913 * @cvalue PHP_SOCKET_EINVAL 914 */ 915const SOCKET_EINVAL = UNKNOWN; 916#endif 917#ifdef PHP_SOCKET_ENFILE 918/** 919 * File table overflow 920 * @var int 921 * @cvalue PHP_SOCKET_ENFILE 922 */ 923const SOCKET_ENFILE = UNKNOWN; 924#endif 925#ifdef PHP_SOCKET_EMFILE 926/** 927 * Too many open files 928 * @var int 929 * @cvalue PHP_SOCKET_EMFILE 930 */ 931const SOCKET_EMFILE = UNKNOWN; 932#endif 933#ifdef ENOTTY 934/** 935 * Not a typewriter 936 * @var int 937 * @cvalue ENOTTY 938 */ 939const SOCKET_ENOTTY = UNKNOWN; 940#endif 941#ifdef ENOSPC 942/** 943 * No space left on device 944 * @var int 945 * @cvalue ENOSPC 946 */ 947const SOCKET_ENOSPC = UNKNOWN; 948#endif 949#ifdef ESPIPE 950/** 951 * Illegal seek 952 * @var int 953 * @cvalue ESPIPE 954 */ 955const SOCKET_ESPIPE = UNKNOWN; 956#endif 957#ifdef EROFS 958/** 959 * Read-only file system 960 * @var int 961 * @cvalue EROFS 962 */ 963const SOCKET_EROFS = UNKNOWN; 964#endif 965#ifdef EMLINK 966/** 967 * Too many links 968 * @var int 969 * @cvalue EMLINK 970 */ 971const SOCKET_EMLINK = UNKNOWN; 972#endif 973#ifdef EPIPE 974/** 975 * Broken pipe 976 * @var int 977 * @cvalue EPIPE 978 */ 979const SOCKET_EPIPE = UNKNOWN; 980#endif 981#ifdef PHP_SOCKET_ENAMETOOLONG 982/** 983 * File name too long 984 * @var int 985 * @cvalue PHP_SOCKET_ENAMETOOLONG 986 */ 987const SOCKET_ENAMETOOLONG = UNKNOWN; 988#endif 989#ifdef ENOLCK 990/** 991 * No record locks available 992 * @var int 993 * @cvalue ENOLCK 994 */ 995const SOCKET_ENOLCK = UNKNOWN; 996#endif 997#ifdef ENOSYS 998/** 999 * Function not implemented 1000 * @var int 1001 * @cvalue ENOSYS 1002 */ 1003const SOCKET_ENOSYS = UNKNOWN; 1004#endif 1005#ifdef PHP_SOCKET_ENOTEMPTY 1006/** 1007 * Directory not empty 1008 * @var int 1009 * @cvalue PHP_SOCKET_ENOTEMPTY 1010 */ 1011const SOCKET_ENOTEMPTY = UNKNOWN; 1012#endif 1013#ifdef PHP_SOCKET_ELOOP 1014/** 1015 * Too many symbolic links encountered 1016 * @var int 1017 * @cvalue PHP_SOCKET_ELOOP 1018 */ 1019const SOCKET_ELOOP = UNKNOWN; 1020#endif 1021#ifdef PHP_SOCKET_EWOULDBLOCK 1022/** 1023 * Operation would block 1024 * @var int 1025 * @cvalue PHP_SOCKET_EWOULDBLOCK 1026 */ 1027const SOCKET_EWOULDBLOCK = UNKNOWN; 1028#endif 1029#ifdef ENOMSG 1030/** 1031 * No message of desired type 1032 * @var int 1033 * @cvalue ENOMSG 1034 */ 1035const SOCKET_ENOMSG = UNKNOWN; 1036#endif 1037#ifdef EIDRM 1038/** 1039 * Identifier removed 1040 * @var int 1041 * @cvalue EIDRM 1042 */ 1043const SOCKET_EIDRM = UNKNOWN; 1044#endif 1045#ifdef ECHRNG 1046/** 1047 * Channel number out of range 1048 * @var int 1049 * @cvalue ECHRNG 1050 */ 1051const SOCKET_ECHRNG = UNKNOWN; 1052#endif 1053#ifdef EL2NSYNC 1054/** 1055 * Level 2 not synchronized 1056 * @var int 1057 * @cvalue EL2NSYNC 1058 */ 1059const SOCKET_EL2NSYNC = UNKNOWN; 1060#endif 1061#ifdef EL3HLT 1062/** 1063 * Level 3 halted 1064 * @var int 1065 * @cvalue EL3HLT 1066 */ 1067const SOCKET_EL3HLT = UNKNOWN; 1068#endif 1069#ifdef EL3RST 1070/** 1071 * Level 3 reset 1072 * @var int 1073 * @cvalue EL3RST 1074 */ 1075const SOCKET_EL3RST = UNKNOWN; 1076#endif 1077#ifdef ELNRNG 1078/** 1079 * Link number out of range 1080 * @var int 1081 * @cvalue ELNRNG 1082 */ 1083const SOCKET_ELNRNG = UNKNOWN; 1084#endif 1085#ifdef EUNATCH 1086/** 1087 * Protocol driver not attached 1088 * @var int 1089 * @cvalue EUNATCH 1090 */ 1091const SOCKET_EUNATCH = UNKNOWN; 1092#endif 1093#ifdef ENOCSI 1094/** 1095 * No CSI structure available 1096 * @var int 1097 * @cvalue ENOCSI 1098 */ 1099const SOCKET_ENOCSI = UNKNOWN; 1100#endif 1101#ifdef EL2HLT 1102/** 1103 * Level 2 halted 1104 * @var int 1105 * @cvalue EL2HLT 1106 */ 1107const SOCKET_EL2HLT = UNKNOWN; 1108#endif 1109#ifdef EBADE 1110/** 1111 * Invalid exchange 1112 * @var int 1113 * @cvalue EBADE 1114 */ 1115const SOCKET_EBADE = UNKNOWN; 1116#endif 1117#ifdef EBADR 1118/** 1119 * Invalid request descriptor 1120 * @var int 1121 * @cvalue EBADR 1122 */ 1123const SOCKET_EBADR = UNKNOWN; 1124#endif 1125#ifdef EXFULL 1126/** 1127 * Exchange full 1128 * @var int 1129 * @cvalue EXFULL 1130 */ 1131const SOCKET_EXFULL = UNKNOWN; 1132#endif 1133#ifdef ENOANO 1134/** 1135 * No anode 1136 * @var int 1137 * @cvalue ENOANO 1138 */ 1139const SOCKET_ENOANO = UNKNOWN; 1140#endif 1141#ifdef EBADRQC 1142/** 1143 * Invalid request code 1144 * @var int 1145 * @cvalue EBADRQC 1146 */ 1147const SOCKET_EBADRQC = UNKNOWN; 1148#endif 1149#ifdef EBADSLT 1150/** 1151 * Invalid slot 1152 * @var int 1153 * @cvalue EBADSLT 1154 */ 1155const SOCKET_EBADSLT = UNKNOWN; 1156#endif 1157#ifdef ENOSTR 1158/** 1159 * Device not a stream 1160 * @var int 1161 * @cvalue ENOSTR 1162 */ 1163const SOCKET_ENOSTR = UNKNOWN; 1164#endif 1165#ifdef ENODATA 1166/** 1167 * No data available 1168 * @var int 1169 * @cvalue ENODATA 1170 */ 1171const SOCKET_ENODATA = UNKNOWN; 1172#endif 1173#ifdef ETIME 1174/** 1175 * Timer expired 1176 * @var int 1177 * @cvalue ETIME 1178 */ 1179const SOCKET_ETIME = UNKNOWN; 1180#endif 1181#ifdef ENOSR 1182/** 1183 * Out of streams resources 1184 * @var int 1185 * @cvalue ENOSR 1186 */ 1187const SOCKET_ENOSR = UNKNOWN; 1188#endif 1189#ifdef ENONET 1190/** 1191 * Machine is not on the network 1192 * @var int 1193 * @cvalue ENONET 1194 */ 1195const SOCKET_ENONET = UNKNOWN; 1196#endif 1197#ifdef PHP_SOCKET_EREMOTE 1198/** 1199 * Object is remote 1200 * @var int 1201 * @cvalue PHP_SOCKET_EREMOTE 1202 */ 1203const SOCKET_EREMOTE = UNKNOWN; 1204#endif 1205#ifdef ENOLINK 1206/** 1207 * Link has been severed 1208 * @var int 1209 * @cvalue ENOLINK 1210 */ 1211const SOCKET_ENOLINK = UNKNOWN; 1212#endif 1213#ifdef EADV 1214/** 1215 * Advertise error 1216 * @var int 1217 * @cvalue EADV 1218 */ 1219const SOCKET_EADV = UNKNOWN; 1220#endif 1221#ifdef ESRMNT 1222/** 1223 * Srmount error 1224 * @var int 1225 * @cvalue ESRMNT 1226 */ 1227const SOCKET_ESRMNT = UNKNOWN; 1228#endif 1229#ifdef ECOMM 1230/** 1231 * Communication error on send 1232 * @var int 1233 * @cvalue ECOMM 1234 */ 1235const SOCKET_ECOMM = UNKNOWN; 1236#endif 1237#ifdef EPROTO 1238/** 1239 * Protocol error 1240 * @var int 1241 * @cvalue EPROTO 1242 */ 1243const SOCKET_EPROTO = UNKNOWN; 1244#endif 1245#ifdef EMULTIHOP 1246/** 1247 * Multihop attempted 1248 * @var int 1249 * @cvalue EMULTIHOP 1250 */ 1251const SOCKET_EMULTIHOP = UNKNOWN; 1252#endif 1253#ifdef EBADMSG 1254/** 1255 * Not a data message 1256 * @var int 1257 * @cvalue EBADMSG 1258 */ 1259const SOCKET_EBADMSG = UNKNOWN; 1260#endif 1261#ifdef ENOTUNIQ 1262/** 1263 * Name not unique on network 1264 * @var int 1265 * @cvalue ENOTUNIQ 1266 */ 1267const SOCKET_ENOTUNIQ = UNKNOWN; 1268#endif 1269#ifdef EBADFD 1270/** 1271 * File descriptor in bad state 1272 * @var int 1273 * @cvalue EBADFD 1274 */ 1275const SOCKET_EBADFD = UNKNOWN; 1276#endif 1277#ifdef EREMCHG 1278/** 1279 * Remote address changed 1280 * @var int 1281 * @cvalue EREMCHG 1282 */ 1283const SOCKET_EREMCHG = UNKNOWN; 1284#endif 1285#ifdef ERESTART 1286/** 1287 * Interrupted system call should be restarted 1288 * @var int 1289 * @cvalue ERESTART 1290 */ 1291const SOCKET_ERESTART = UNKNOWN; 1292#endif 1293#ifdef ESTRPIPE 1294/** 1295 * Streams pipe error 1296 * @var int 1297 * @cvalue ESTRPIPE 1298 */ 1299const SOCKET_ESTRPIPE = UNKNOWN; 1300#endif 1301#ifdef PHP_SOCKET_EUSERS 1302/** 1303 * Too many users 1304 * @var int 1305 * @cvalue PHP_SOCKET_EUSERS 1306 */ 1307const SOCKET_EUSERS = UNKNOWN; 1308#endif 1309#ifdef PHP_SOCKET_ENOTSOCK 1310/** 1311 * Socket operation on non-socket 1312 * @var int 1313 * @cvalue PHP_SOCKET_ENOTSOCK 1314 */ 1315const SOCKET_ENOTSOCK = UNKNOWN; 1316#endif 1317#ifdef PHP_SOCKET_EDESTADDRREQ 1318/** 1319 * Destination address required 1320 * @var int 1321 * @cvalue PHP_SOCKET_EDESTADDRREQ 1322 */ 1323const SOCKET_EDESTADDRREQ = UNKNOWN; 1324#endif 1325#ifdef PHP_SOCKET_EMSGSIZE 1326/** 1327 * Message too long 1328 * @var int 1329 * @cvalue PHP_SOCKET_EMSGSIZE 1330 */ 1331const SOCKET_EMSGSIZE = UNKNOWN; 1332#endif 1333#ifdef PHP_SOCKET_EPROTOTYPE 1334/** 1335 * Protocol wrong type for socket 1336 * @var int 1337 * @cvalue PHP_SOCKET_EPROTOTYPE 1338 */ 1339const SOCKET_EPROTOTYPE = UNKNOWN; 1340#endif 1341#ifdef PHP_SOCKET_ENOPROTOOPT 1342/** 1343 * Protocol not available 1344 * @var int 1345 * @cvalue PHP_SOCKET_ENOPROTOOPT 1346 */ 1347const SOCKET_ENOPROTOOPT = UNKNOWN; 1348#endif 1349#ifdef PHP_SOCKET_EPROTONOSUPPORT 1350/** 1351 * Protocol not supported 1352 * @var int 1353 * @cvalue PHP_SOCKET_EPROTONOSUPPORT 1354 */ 1355const SOCKET_EPROTONOSUPPORT = UNKNOWN; 1356#endif 1357#ifdef PHP_SOCKET_ESOCKTNOSUPPORT 1358/** 1359 * Socket type not supported 1360 * @var int 1361 * @cvalue PHP_SOCKET_ESOCKTNOSUPPORT 1362 */ 1363const SOCKET_ESOCKTNOSUPPORT = UNKNOWN; 1364#endif 1365#ifdef PHP_SOCKET_EOPNOTSUPP 1366/** 1367 * Operation not supported on transport endpoint 1368 * @var int 1369 * @cvalue PHP_SOCKET_EOPNOTSUPP 1370 */ 1371const SOCKET_EOPNOTSUPP = UNKNOWN; 1372#endif 1373#ifdef PHP_SOCKET_EPFNOSUPPORT 1374/** 1375 * Protocol family not supported 1376 * @var int 1377 * @cvalue PHP_SOCKET_EPFNOSUPPORT 1378 */ 1379const SOCKET_EPFNOSUPPORT = UNKNOWN; 1380#endif 1381#ifdef PHP_SOCKET_EAFNOSUPPORT 1382/** 1383 * Address family not supported by protocol 1384 * @var int 1385 * @cvalue PHP_SOCKET_EAFNOSUPPORT 1386 */ 1387const SOCKET_EAFNOSUPPORT = UNKNOWN; 1388#endif 1389#ifdef PHP_SOCKET_EADDRINUSE 1390/** 1391 * Address already in use 1392 * @var int 1393 * @cvalue PHP_SOCKET_EADDRINUSE 1394 */ 1395const SOCKET_EADDRINUSE = UNKNOWN; 1396#endif 1397#ifdef PHP_SOCKET_EADDRNOTAVAIL 1398/** 1399 * Cannot assign requested address 1400 * @var int 1401 * @cvalue PHP_SOCKET_EADDRNOTAVAIL 1402 */ 1403const SOCKET_EADDRNOTAVAIL = UNKNOWN; 1404#endif 1405#ifdef PHP_SOCKET_ENETDOWN 1406/** 1407 * Network is down 1408 * @var int 1409 * @cvalue PHP_SOCKET_ENETDOWN 1410 */ 1411const SOCKET_ENETDOWN = UNKNOWN; 1412#endif 1413#ifdef PHP_SOCKET_ENETUNREACH 1414/** 1415 * Network is unreachable 1416 * @var int 1417 * @cvalue PHP_SOCKET_ENETUNREACH 1418 */ 1419const SOCKET_ENETUNREACH = UNKNOWN; 1420#endif 1421#ifdef PHP_SOCKET_ENETRESET 1422/** 1423 * Network dropped connection because of reset 1424 * @var int 1425 * @cvalue PHP_SOCKET_ENETRESET 1426 */ 1427const SOCKET_ENETRESET = UNKNOWN; 1428#endif 1429#ifdef PHP_SOCKET_ECONNABORTED 1430/** 1431 * Software caused connection abort 1432 * @var int 1433 * @cvalue PHP_SOCKET_ECONNABORTED 1434 */ 1435const SOCKET_ECONNABORTED = UNKNOWN; 1436#endif 1437#ifdef PHP_SOCKET_ECONNRESET 1438/** 1439 * Connection reset by peer 1440 * @var int 1441 * @cvalue PHP_SOCKET_ECONNRESET 1442 */ 1443const SOCKET_ECONNRESET = UNKNOWN; 1444#endif 1445#ifdef PHP_SOCKET_ENOBUFS 1446/** 1447 * No buffer space available 1448 * @var int 1449 * @cvalue PHP_SOCKET_ENOBUFS 1450 */ 1451const SOCKET_ENOBUFS = UNKNOWN; 1452#endif 1453#ifdef PHP_SOCKET_EISCONN 1454/** 1455 * Transport endpoint is already connected 1456 * @var int 1457 * @cvalue PHP_SOCKET_EISCONN 1458 */ 1459const SOCKET_EISCONN = UNKNOWN; 1460#endif 1461#ifdef PHP_SOCKET_ENOTCONN 1462/** 1463 * Transport endpoint is not connected 1464 * @var int 1465 * @cvalue PHP_SOCKET_ENOTCONN 1466 */ 1467const SOCKET_ENOTCONN = UNKNOWN; 1468#endif 1469#ifdef PHP_SOCKET_ESHUTDOWN 1470/** 1471 * Cannot send after transport endpoint shutdown 1472 * @var int 1473 * @cvalue PHP_SOCKET_ESHUTDOWN 1474 */ 1475const SOCKET_ESHUTDOWN = UNKNOWN; 1476#endif 1477#ifdef PHP_SOCKET_ETOOMANYREFS 1478/** 1479 * Too many references: cannot splice 1480 * @var int 1481 * @cvalue PHP_SOCKET_ETOOMANYREFS 1482 */ 1483const SOCKET_ETOOMANYREFS = UNKNOWN; 1484#endif 1485#ifdef PHP_SOCKET_ETIMEDOUT 1486/** 1487 * Connection timed out 1488 * @var int 1489 * @cvalue PHP_SOCKET_ETIMEDOUT 1490 */ 1491const SOCKET_ETIMEDOUT = UNKNOWN; 1492#endif 1493#ifdef PHP_SOCKET_ECONNREFUSED 1494/** 1495 * Connection refused 1496 * @var int 1497 * @cvalue PHP_SOCKET_ECONNREFUSED 1498 */ 1499const SOCKET_ECONNREFUSED = UNKNOWN; 1500#endif 1501#ifdef PHP_SOCKET_EHOSTDOWN 1502/** 1503 * Host is down 1504 * @var int 1505 * @cvalue PHP_SOCKET_EHOSTDOWN 1506 */ 1507const SOCKET_EHOSTDOWN = UNKNOWN; 1508#endif 1509#ifdef PHP_SOCKET_EHOSTUNREACH 1510/** 1511 * No route to host 1512 * @var int 1513 * @cvalue PHP_SOCKET_EHOSTUNREACH 1514 */ 1515const SOCKET_EHOSTUNREACH = UNKNOWN; 1516#endif 1517#ifdef PHP_SOCKET_EALREADY 1518/** 1519 * Operation already in progress 1520 * @var int 1521 * @cvalue PHP_SOCKET_EALREADY 1522 */ 1523const SOCKET_EALREADY = UNKNOWN; 1524#endif 1525#ifdef PHP_SOCKET_EINPROGRESS 1526/** 1527 * Operation now in progress 1528 * @var int 1529 * @cvalue PHP_SOCKET_EINPROGRESS 1530 */ 1531const SOCKET_EINPROGRESS = UNKNOWN; 1532#endif 1533#ifdef EISNAM 1534/** 1535 * Is a named type file 1536 * @var int 1537 * @cvalue EISNAM 1538 */ 1539const SOCKET_EISNAM = UNKNOWN; 1540#endif 1541#ifdef EREMOTEIO 1542/** 1543 * Remote I/O error 1544 * @var int 1545 * @cvalue EREMOTEIO 1546 */ 1547const SOCKET_EREMOTEIO = UNKNOWN; 1548#endif 1549#ifdef PHP_SOCKET_EDQUOT 1550/** 1551 * Quota exceeded 1552 * @var int 1553 * @cvalue PHP_SOCKET_EDQUOT 1554 */ 1555const SOCKET_EDQUOT = UNKNOWN; 1556#endif 1557#ifdef ENOMEDIUM 1558/** 1559 * No medium found 1560 * @var int 1561 * @cvalue ENOMEDIUM 1562 */ 1563const SOCKET_ENOMEDIUM = UNKNOWN; 1564#endif 1565#ifdef EMEDIUMTYPE 1566/** 1567 * Wrong medium type 1568 * @var int 1569 * @cvalue EMEDIUMTYPE 1570 */ 1571const SOCKET_EMEDIUMTYPE = UNKNOWN; 1572#endif 1573 1574#ifdef PHP_WIN32 1575/** 1576 * @var int 1577 * @cvalue WSAESTALE 1578 */ 1579const SOCKET_ESTALE = UNKNOWN; 1580/** 1581 * @var int 1582 * @cvalue WSAEDISCON 1583 */ 1584const SOCKET_EDISCON = UNKNOWN; 1585/** 1586 * @var int 1587 * @cvalue WSASYSNOTREADY 1588 */ 1589const SOCKET_SYSNOTREADY = UNKNOWN; 1590/** 1591 * @var int 1592 * @cvalue WSAVERNOTSUPPORTED 1593 */ 1594const SOCKET_VERNOTSUPPORTED = UNKNOWN; 1595/** 1596 * @var int 1597 * @cvalue WSANOTINITIALISED 1598 */ 1599const SOCKET_NOTINITIALISED = UNKNOWN; 1600/** 1601 * @var int 1602 * @cvalue WSAHOST_NOT_FOUND 1603 */ 1604const SOCKET_HOST_NOT_FOUND = UNKNOWN; 1605/** 1606 * @var int 1607 * @cvalue WSATRY_AGAIN 1608 */ 1609const SOCKET_TRY_AGAIN = UNKNOWN; 1610/** 1611 * @var int 1612 * @cvalue WSANO_RECOVERY 1613 */ 1614const SOCKET_NO_RECOVERY = UNKNOWN; 1615/** 1616 * @var int 1617 * @cvalue WSANO_DATA 1618 */ 1619const SOCKET_NO_DATA = UNKNOWN; 1620/** 1621 * @var int 1622 * @cvalue WSANO_ADDRESS 1623 */ 1624const SOCKET_NO_ADDRESS = UNKNOWN; 1625#endif 1626 1627/** 1628 * @var int 1629 * @cvalue IPPROTO_IP 1630 */ 1631const IPPROTO_IP = UNKNOWN; 1632#ifdef HAVE_IPV6 1633/** 1634 * @var int 1635 * @cvalue IPPROTO_IPV6 1636 */ 1637const IPPROTO_IPV6 = UNKNOWN; 1638#endif 1639 1640/** 1641 * @var int 1642 * @cvalue IPPROTO_TCP 1643 */ 1644const SOL_TCP = UNKNOWN; 1645/** 1646 * @var int 1647 * @cvalue IPPROTO_UDP 1648 */ 1649const SOL_UDP = UNKNOWN; 1650#ifdef IPPROTO_UDPLITE 1651/** 1652 * @var int 1653 * @cvalue IPPROTO_UDPLITE 1654 */ 1655const SOL_UDPLITE = UNKNOWN; 1656#endif 1657#if defined(IPPROTO_ICMP) || defined(PHP_WIN32) 1658/** 1659 * @var int 1660 * @cvalue IPPROTO_ICMP 1661 */ 1662const IPPROTO_ICMP = UNKNOWN; 1663#endif 1664#if defined(IPPROTO_ICMPV6) || defined(PHP_WIN32) 1665/** 1666 * @var int 1667 * @cvalue IPPROTO_ICMPV6 1668 */ 1669const IPPROTO_ICMPV6 = UNKNOWN; 1670#endif 1671 1672#ifdef HAVE_IPV6 1673/** 1674 * @var int 1675 * @cvalue IPV6_UNICAST_HOPS 1676 */ 1677const IPV6_UNICAST_HOPS = UNKNOWN; 1678#endif 1679 1680/** 1681 * @var int 1682 * @cvalue AI_PASSIVE 1683 */ 1684const AI_PASSIVE = UNKNOWN; 1685/** 1686 * @var int 1687 * @cvalue AI_CANONNAME 1688 */ 1689const AI_CANONNAME = UNKNOWN; 1690/** 1691 * @var int 1692 * @cvalue AI_NUMERICHOST 1693 */ 1694const AI_NUMERICHOST = UNKNOWN; 1695#ifdef AI_V4MAPPED 1696/** 1697 * @var int 1698 * @cvalue AI_V4MAPPED 1699 */ 1700const AI_V4MAPPED = UNKNOWN; 1701#endif 1702#ifdef AI_ALL 1703/** 1704 * @var int 1705 * @cvalue AI_ALL 1706 */ 1707const AI_ALL = UNKNOWN; 1708#endif 1709/** 1710 * @var int 1711 * @cvalue AI_ADDRCONFIG 1712 */ 1713const AI_ADDRCONFIG = UNKNOWN; 1714#ifdef AI_IDN 1715/** 1716 * @var int 1717 * @cvalue AI_IDN 1718 */ 1719const AI_IDN = UNKNOWN; 1720/** 1721 * @var int 1722 * @cvalue AI_CANONIDN 1723 */ 1724const AI_CANONIDN = UNKNOWN; 1725#endif 1726#ifdef AI_NUMERICSERV 1727/** 1728 * @var int 1729 * @cvalue AI_NUMERICSERV 1730 */ 1731const AI_NUMERICSERV = UNKNOWN; 1732#endif 1733#ifdef SOL_LOCAL 1734/** 1735 * @var int 1736 * @cvalue SOL_LOCAL 1737 */ 1738const SOL_LOCAL = UNKNOWN; 1739#endif 1740 1741#if (defined(IPV6_RECVPKTINFO) && defined(HAVE_IPV6)) 1742/** 1743 * IPv6 ancillary data 1744 * @var int 1745 * @cvalue IPV6_RECVPKTINFO 1746 */ 1747const IPV6_RECVPKTINFO = UNKNOWN; 1748/** 1749 * @var int 1750 * @cvalue IPV6_PKTINFO 1751 */ 1752const IPV6_PKTINFO = UNKNOWN; 1753#endif 1754#if (defined(IPV6_RECVHOPLIMIT) && defined(HAVE_IPV6)) 1755/** 1756 * @var int 1757 * @cvalue IPV6_RECVHOPLIMIT 1758 */ 1759const IPV6_RECVHOPLIMIT = UNKNOWN; 1760/** 1761 * @var int 1762 * @cvalue IPV6_HOPLIMIT 1763 */ 1764const IPV6_HOPLIMIT = UNKNOWN; 1765#endif 1766 1767#if (defined(IPV6_RECVTCLASS) && defined(HAVE_IPV6)) 1768/** 1769 * @var int 1770 * @cvalue IPV6_RECVTCLASS 1771 */ 1772const IPV6_RECVTCLASS = UNKNOWN; 1773/** 1774 * @var int 1775 * @cvalue IPV6_TCLASS 1776 */ 1777const IPV6_TCLASS = UNKNOWN; 1778#endif 1779 1780#ifdef SCM_RIGHTS 1781/** 1782 * @var int 1783 * @cvalue SCM_RIGHTS 1784 */ 1785const SCM_RIGHTS = UNKNOWN; 1786#endif 1787#ifdef SO_PASSCRED 1788#ifdef SCM_CREDENTIALS 1789/** 1790 * @var int 1791 * @cvalue SCM_CREDENTIALS 1792 */ 1793const SCM_CREDENTIALS = UNKNOWN; 1794#else 1795/** 1796 * @var int 1797 * @cvalue SCM_CREDS 1798 */ 1799const SCM_CREDS = UNKNOWN; 1800#endif 1801/** 1802 * @var int 1803 * @cvalue SO_PASSCRED 1804 */ 1805const SO_PASSCRED = UNKNOWN; 1806#endif 1807#if defined(LOCAL_CREDS_PERSISTENT) 1808/** 1809 * @var int 1810 * @cvalue SCM_CREDS2 1811 */ 1812const SCM_CREDS2 = UNKNOWN; 1813/** 1814 * @var int 1815 * @cvalue LOCAL_CREDS_PERSISTENT 1816 */ 1817const LOCAL_CREDS_PERSISTENT = UNKNOWN; 1818#endif 1819#if (!defined(LOCAL_CREDS_PERSISTENT) && defined(LOCAL_CREDS)) 1820/** 1821 * @var int 1822 * @cvalue SCM_CREDS 1823 */ 1824const SCM_CREDS = UNKNOWN; 1825/** 1826 * @var int 1827 * @cvalue LOCAL_CREDS 1828 */ 1829const LOCAL_CREDS = UNKNOWN; 1830#endif 1831#if defined(SO_ATTACH_REUSEPORT_CBPF) 1832/** 1833 * @var int 1834 * @cvalue SO_ATTACH_REUSEPORT_CBPF 1835 */ 1836const SO_ATTACH_REUSEPORT_CBPF = UNKNOWN; 1837#endif 1838#if defined(SO_DETACH_FILTER) 1839/** 1840 * @var int 1841 * @cvalue SO_DETACH_FILTER 1842 */ 1843const SO_DETACH_FILTER = UNKNOWN; 1844#endif 1845#if defined(SO_DETACH_BPF) 1846/** 1847 * @var int 1848 * @cvalue SO_DETACH_BPF 1849 */ 1850const SO_DETACH_BPF = UNKNOWN; 1851#endif 1852#if defined(SO_EXCLUSIVEADDRUSE) 1853/** 1854 * @var int 1855 * @cvalue SO_EXCLUSIVEADDRUSE 1856 */ 1857const SO_EXCLUSIVEADDRUSE = UNKNOWN; 1858#endif 1859#if defined(SO_NOSIGPIPE) 1860/** 1861 * @var int 1862 * @cvalue SO_NOSIGPIPE 1863 */ 1864const SO_NOSIGPIPE = UNKNOWN; 1865#endif 1866#if defined(TCP_QUICKACK) 1867/** 1868 * @var int 1869 * @cvalue TCP_QUICKACK 1870 */ 1871const TCP_QUICKACK = UNKNOWN; 1872#endif 1873#if defined(TCP_REPAIR) 1874/** 1875 * @var int 1876 * @cvalue TCP_REPAIR 1877 */ 1878const TCP_REPAIR = UNKNOWN; 1879#endif 1880#if defined(IP_DONTFRAG) 1881/** 1882 * @var int 1883 * @cvalue IP_DONTFRAG 1884 */ 1885const IP_DONTFRAG = UNKNOWN; 1886#endif 1887#if defined(IP_MTU_DISCOVER) 1888/** 1889 * @var int 1890 * @cvalue IP_MTU_DISCOVER 1891 */ 1892const IP_MTU_DISCOVER = UNKNOWN; 1893#endif 1894#if defined(IP_PMTUDISC_DO) 1895/** 1896 * @var int 1897 * @cvalue IP_PMTUDISC_DO 1898 */ 1899const IP_PMTUDISC_DO = UNKNOWN; 1900#endif 1901#if defined(IP_PMTUDISC_DONT) 1902/** 1903 * @var int 1904 * @cvalue IP_PMTUDISC_DONT 1905 */ 1906const IP_PMTUDISC_DONT = UNKNOWN; 1907#endif 1908#if defined(IP_PMTUDISC_WANT) 1909/** 1910 * @var int 1911 * @cvalue IP_PMTUDISC_WANT 1912 */ 1913const IP_PMTUDISC_WANT = UNKNOWN; 1914#endif 1915#if defined(IP_PMTUDISC_PROBE) 1916/** 1917 * @var int 1918 * @cvalue IP_PMTUDISC_PROBE 1919 */ 1920const IP_PMTUDISC_PROBE = UNKNOWN; 1921#endif 1922#if defined(IP_PMTUDISC_INTERFACE) 1923/** 1924 * @var int 1925 * @cvalue IP_PMTUDISC_INTERFACE 1926 */ 1927const IP_PMTUDISC_INTERFACE = UNKNOWN; 1928#endif 1929#if defined(IP_PMTUDISC_OMIT) 1930/** 1931 * @var int 1932 * @cvalue IP_PMTUDISC_OMIT 1933 */ 1934const IP_PMTUDISC_OMIT = UNKNOWN; 1935#endif 1936#if defined(UDPLITE_SEND_CSCOV) 1937/** 1938 * @var int 1939 * @cvalue UDPLITE_SEND_CSCOV 1940 */ 1941const UDPLITE_SEND_CSCOV = UNKNOWN; 1942#endif 1943#if defined(UDPLITE_RECV_CSCOV) 1944/** 1945 * @var int 1946 * @cvalue UDPLITE_RECV_CSCOV 1947 */ 1948const UDPLITE_RECV_CSCOV = UNKNOWN; 1949#endif 1950 1951/** 1952 * @strict-properties 1953 * @not-serializable 1954 */ 1955final class Socket 1956{ 1957} 1958 1959/** 1960 * @strict-properties 1961 * @not-serializable 1962 */ 1963final class AddressInfo 1964{ 1965} 1966 1967function socket_select(?array &$read, ?array &$write, ?array &$except, ?int $seconds, int $microseconds = 0): int|false {} 1968 1969function socket_create_listen(int $port, int $backlog = SOMAXCONN): Socket|false {} 1970 1971function socket_accept(Socket $socket): Socket|false {} 1972 1973function socket_set_nonblock(Socket $socket): bool {} 1974 1975function socket_set_block(Socket $socket): bool {} 1976 1977function socket_listen(Socket $socket, int $backlog = 0): bool {} 1978 1979function socket_close(Socket $socket): void {} 1980 1981function socket_write(Socket $socket, string $data, ?int $length = null): int|false {} 1982 1983function socket_read(Socket $socket, int $length, int $mode = PHP_BINARY_READ): string|false {} 1984 1985/** 1986 * @param string $address 1987 * @param int $port 1988 */ 1989function socket_getsockname(Socket $socket, &$address, &$port = null): bool {} 1990 1991/** 1992 * @param string $address 1993 * @param int $port 1994 */ 1995function socket_getpeername(Socket $socket, &$address, &$port = null): bool {} 1996 1997function socket_create(int $domain, int $type, int $protocol): Socket|false {} 1998 1999function socket_connect(Socket $socket, string $address, ?int $port = null): bool {} 2000 2001function socket_strerror(int $error_code): string {} 2002 2003function socket_bind(Socket $socket, string $address, int $port = 0): bool {} 2004 2005/** @param string|null $data */ 2006function socket_recv(Socket $socket, &$data, int $length, int $flags): int|false {} 2007 2008function socket_send(Socket $socket, string $data, int $length, int $flags): int|false {} 2009 2010/** 2011 * @param string $data 2012 * @param string $address 2013 * @param int $port 2014 */ 2015function socket_recvfrom(Socket $socket, &$data, int $length, int $flags, &$address, &$port = null): int|false {} 2016 2017function socket_sendto(Socket $socket, string $data, int $length, int $flags, string $address, ?int $port = null): int|false {} 2018 2019/** 2020 * @return array<string, mixed>|int|false 2021 * @refcount 1 2022 */ 2023function socket_get_option(Socket $socket, int $level, int $option): array|int|false {} 2024 2025/** 2026 * @return array<string, mixed>|int|false 2027 * @alias socket_get_option 2028 */ 2029function socket_getopt(Socket $socket, int $level, int $option): array|int|false {} 2030 2031/** @param array|string|int $value */ 2032function socket_set_option(Socket $socket, int $level, int $option, $value): bool {} 2033 2034/** 2035 * @param array|string|int $value 2036 * @alias socket_set_option 2037 */ 2038function socket_setopt(Socket $socket, int $level, int $option, $value): bool {} 2039 2040#ifdef HAVE_SOCKETPAIR 2041/** @param array $pair */ 2042function socket_create_pair(int $domain, int $type, int $protocol, &$pair): bool {} 2043#endif 2044 2045#ifdef HAVE_SHUTDOWN 2046function socket_shutdown(Socket $socket, int $mode = 2): bool {} 2047#endif 2048 2049#ifdef HAVE_SOCKATMARK 2050function socket_atmark(Socket $socket): bool {} 2051#endif 2052 2053function socket_last_error(?Socket $socket = null): int {} 2054 2055function socket_clear_error(?Socket $socket = null): void {} 2056 2057/** @param resource $stream */ 2058function socket_import_stream($stream): Socket|false {} 2059 2060/** @return resource|false */ 2061function socket_export_stream(Socket $socket) {} 2062 2063function socket_sendmsg(Socket $socket, array $message, int $flags = 0): int|false {} 2064 2065function socket_recvmsg(Socket $socket, array &$message, int $flags = 0): int|false {} 2066 2067function socket_cmsg_space(int $level, int $type, int $num = 0): ?int {} 2068 2069/** 2070 * @return array<int, AddressInfo>|false 2071 * @refcount 1 2072 */ 2073function socket_addrinfo_lookup(string $host, ?string $service = null, array $hints = []): array|false {} 2074 2075function socket_addrinfo_connect(AddressInfo $address): Socket|false {} 2076 2077function socket_addrinfo_bind(AddressInfo $address): Socket|false {} 2078 2079/** 2080 * @return array<string, int|string|array> 2081 * @refcount 1 2082 */ 2083function socket_addrinfo_explain(AddressInfo $address): array {} 2084 2085#ifdef PHP_WIN32 2086function socket_wsaprotocol_info_export(Socket $socket, int $process_id): string|false {} 2087 2088function socket_wsaprotocol_info_import(string $info_id): Socket|false {} 2089 2090function socket_wsaprotocol_info_release(string $info_id): bool {} 2091#endif 2092