Lines Matching defs:socket

1856 function socket_accept(Socket $socket): Socket|false {}
1858 function socket_set_nonblock(Socket $socket): bool {}
1860 function socket_set_block(Socket $socket): bool {}
1862 function socket_listen(Socket $socket, int $backlog = 0): bool {}
1864 function socket_close(Socket $socket): void {}
1866 function socket_write(Socket $socket, string $data, ?int $length = null): int|false {}
1868 function socket_read(Socket $socket, int $length, int $mode = PHP_BINARY_READ): string|false {}
1874 function socket_getsockname(Socket $socket, &$address, &$port = null): bool {}
1880 function socket_getpeername(Socket $socket, &$address, &$port = null): bool {}
1884 function socket_connect(Socket $socket, string $address, ?int $port = null): bool {}
1888 function socket_bind(Socket $socket, string $address, int $port = 0): bool {}
1891 function socket_recv(Socket $socket, &$data, int $length, int $flags): int|false {}
1893 function socket_send(Socket $socket, string $data, int $length, int $flags): int|false {}
1900 function socket_recvfrom(Socket $socket, &$data, int $length, int $flags, &$address, &$port = null)…
1902 function socket_sendto(Socket $socket, string $data, int $length, int $flags, string $address, ?int…
1908 function socket_get_option(Socket $socket, int $level, int $option): array|int|false {}
1914 function socket_getopt(Socket $socket, int $level, int $option): array|int|false {}
1917 function socket_set_option(Socket $socket, int $level, int $option, $value): bool {}
1923 function socket_setopt(Socket $socket, int $level, int $option, $value): bool {}
1931 function socket_shutdown(Socket $socket, int $mode = 2): bool {}
1935 function socket_atmark(Socket $socket): bool {}
1938 function socket_last_error(?Socket $socket = null): int {}
1940 function socket_clear_error(?Socket $socket = null): void {}
1946 function socket_export_stream(Socket $socket) {}
1948 function socket_sendmsg(Socket $socket, array $message, int $flags = 0): int|false {}
1950 function socket_recvmsg(Socket $socket, array &$message, int $flags = 0): int|false {}
1971 function socket_wsaprotocol_info_export(Socket $socket, int $process_id): string|false {}