Lines Matching refs:socket
17 function socket_accept(Socket $socket): Socket|false {} argument
19 function socket_set_nonblock(Socket $socket): bool {} argument
21 function socket_set_block(Socket $socket): bool {} argument
23 function socket_listen(Socket $socket, int $backlog = 0): bool {} argument
25 function socket_close(Socket $socket): void {} argument
27 function socket_write(Socket $socket, string $data, ?int $length = null): int|false {} argument
29 function socket_read(Socket $socket, int $length, int $mode = PHP_BINARY_READ): string|false {} argument
35 function socket_getsockname(Socket $socket, &$address, &$port = null): bool {} argument
41 function socket_getpeername(Socket $socket, &$address, &$port = null): bool {} argument
45 function socket_connect(Socket $socket, string $address, ?int $port = null): bool {} argument
49 function socket_bind(Socket $socket, string $address, int $port = 0): bool {} argument
52 function socket_recv(Socket $socket, &$data, int $length, int $flags): int|false {} argument
54 function socket_send(Socket $socket, string $data, int $length, int $flags): int|false {} argument
61 function socket_recvfrom(Socket $socket, &$data, int $length, int $flags, &$address, &$port = null)… argument
63 function socket_sendto(Socket $socket, string $data, int $length, int $flags, string $address, ?int… argument
65 function socket_get_option(Socket $socket, int $level, int $option): array|int|false {} argument
68 function socket_getopt(Socket $socket, int $level, int $option): array|int|false {} argument
71 function socket_set_option(Socket $socket, int $level, int $option, $value): bool {} argument
77 function socket_setopt(Socket $socket, int $level, int $option, $value): bool {} argument
85 function socket_shutdown(Socket $socket, int $mode = 2): bool {} argument
88 function socket_last_error(?Socket $socket = null): int {} argument
90 function socket_clear_error(?Socket $socket = null): void {} argument
96 function socket_export_stream(Socket $socket) {} argument
98 function socket_sendmsg(Socket $socket, array $message, int $flags = 0): int|false {} argument
100 function socket_recvmsg(Socket $socket, array &$message, int $flags = 0): int|false {} argument
113 function socket_wsaprotocol_info_export(Socket $socket, int $process_id): string|false {} argument