Lines Matching refs:Socket

9 final class Socket  class
23 function socket_create_listen(int $port, int $backlog = 128): Socket|false {}
25 function socket_accept(Socket $socket): Socket|false {}
27 function socket_set_nonblock(Socket $socket): bool {}
29 function socket_set_block(Socket $socket): bool {}
31 function socket_listen(Socket $socket, int $backlog = 0): bool {}
33 function socket_close(Socket $socket): void {}
35 function socket_write(Socket $socket, string $data, ?int $length = null): int|false {}
37 function socket_read(Socket $socket, int $length, int $mode = PHP_BINARY_READ): string|false {}
43 function socket_getsockname(Socket $socket, &$address, &$port = null): bool {}
49 function socket_getpeername(Socket $socket, &$address, &$port = null): bool {}
51 function socket_create(int $domain, int $type, int $protocol): Socket|false {}
53 function socket_connect(Socket $socket, string $address, ?int $port = null): bool {}
57 function socket_bind(Socket $socket, string $address, int $port = 0): bool {}
60 function socket_recv(Socket $socket, &$data, int $length, int $flags): int|false {}
62 function socket_send(Socket $socket, string $data, int $length, int $flags): int|false {}
69 function socket_recvfrom(Socket $socket, &$data, int $length, int $flags, &$address, &$port = null)…
71 function socket_sendto(Socket $socket, string $data, int $length, int $flags, string $address, ?int…
77 function socket_get_option(Socket $socket, int $level, int $option): array|int|false {}
83 function socket_getopt(Socket $socket, int $level, int $option): array|int|false {}
86 function socket_set_option(Socket $socket, int $level, int $option, $value): bool {}
92 function socket_setopt(Socket $socket, int $level, int $option, $value): bool {}
100 function socket_shutdown(Socket $socket, int $mode = 2): bool {}
103 function socket_last_error(?Socket $socket = null): int {}
105 function socket_clear_error(?Socket $socket = null): void {}
108 function socket_import_stream($stream): Socket|false {}
111 function socket_export_stream(Socket $socket) {}
113 function socket_sendmsg(Socket $socket, array $message, int $flags = 0): int|false {}
115 function socket_recvmsg(Socket $socket, array &$message, int $flags = 0): int|false {}
125 function socket_addrinfo_connect(AddressInfo $address): Socket|false {}
127 function socket_addrinfo_bind(AddressInfo $address): Socket|false {}
136 function socket_wsaprotocol_info_export(Socket $socket, int $process_id): string|false {}
138 function socket_wsaprotocol_info_import(string $info_id): Socket|false {}