Lines Matching refs:Socket
1686 final class Socket class
1700 function socket_create_listen(int $port, int $backlog = 128): Socket|false {}
1702 function socket_accept(Socket $socket): Socket|false {}
1704 function socket_set_nonblock(Socket $socket): bool {}
1706 function socket_set_block(Socket $socket): bool {}
1708 function socket_listen(Socket $socket, int $backlog = 0): bool {}
1710 function socket_close(Socket $socket): void {}
1712 function socket_write(Socket $socket, string $data, ?int $length = null): int|false {}
1714 function socket_read(Socket $socket, int $length, int $mode = PHP_BINARY_READ): string|false {}
1720 function socket_getsockname(Socket $socket, &$address, &$port = null): bool {}
1726 function socket_getpeername(Socket $socket, &$address, &$port = null): bool {}
1728 function socket_create(int $domain, int $type, int $protocol): Socket|false {}
1730 function socket_connect(Socket $socket, string $address, ?int $port = null): bool {}
1734 function socket_bind(Socket $socket, string $address, int $port = 0): bool {}
1737 function socket_recv(Socket $socket, &$data, int $length, int $flags): int|false {}
1739 function socket_send(Socket $socket, string $data, int $length, int $flags): int|false {}
1746 function socket_recvfrom(Socket $socket, &$data, int $length, int $flags, &$address, &$port = null)…
1748 function socket_sendto(Socket $socket, string $data, int $length, int $flags, string $address, ?int…
1754 function socket_get_option(Socket $socket, int $level, int $option): array|int|false {}
1760 function socket_getopt(Socket $socket, int $level, int $option): array|int|false {}
1763 function socket_set_option(Socket $socket, int $level, int $option, $value): bool {}
1769 function socket_setopt(Socket $socket, int $level, int $option, $value): bool {}
1777 function socket_shutdown(Socket $socket, int $mode = 2): bool {}
1780 function socket_last_error(?Socket $socket = null): int {}
1782 function socket_clear_error(?Socket $socket = null): void {}
1785 function socket_import_stream($stream): Socket|false {}
1788 function socket_export_stream(Socket $socket) {}
1790 function socket_sendmsg(Socket $socket, array $message, int $flags = 0): int|false {}
1792 function socket_recvmsg(Socket $socket, array &$message, int $flags = 0): int|false {}
1802 function socket_addrinfo_connect(AddressInfo $address): Socket|false {}
1804 function socket_addrinfo_bind(AddressInfo $address): Socket|false {}
1813 function socket_wsaprotocol_info_export(Socket $socket, int $process_id): string|false {}
1815 function socket_wsaprotocol_info_import(string $info_id): Socket|false {}