Lines Matching refs:Socket
1955 final class Socket class
1969 function socket_create_listen(int $port, int $backlog = SOMAXCONN): Socket|false {}
1971 function socket_accept(Socket $socket): Socket|false {}
1973 function socket_set_nonblock(Socket $socket): bool {}
1975 function socket_set_block(Socket $socket): bool {}
1977 function socket_listen(Socket $socket, int $backlog = 0): bool {}
1979 function socket_close(Socket $socket): void {}
1981 function socket_write(Socket $socket, string $data, ?int $length = null): int|false {}
1983 function socket_read(Socket $socket, int $length, int $mode = PHP_BINARY_READ): string|false {}
1989 function socket_getsockname(Socket $socket, &$address, &$port = null): bool {}
1995 function socket_getpeername(Socket $socket, &$address, &$port = null): bool {}
1997 function socket_create(int $domain, int $type, int $protocol): Socket|false {}
1999 function socket_connect(Socket $socket, string $address, ?int $port = null): bool {}
2003 function socket_bind(Socket $socket, string $address, int $port = 0): bool {}
2006 function socket_recv(Socket $socket, &$data, int $length, int $flags): int|false {}
2008 function socket_send(Socket $socket, string $data, int $length, int $flags): int|false {}
2015 function socket_recvfrom(Socket $socket, &$data, int $length, int $flags, &$address, &$port = null)…
2017 function socket_sendto(Socket $socket, string $data, int $length, int $flags, string $address, ?int…
2023 function socket_get_option(Socket $socket, int $level, int $option): array|int|false {}
2029 function socket_getopt(Socket $socket, int $level, int $option): array|int|false {}
2032 function socket_set_option(Socket $socket, int $level, int $option, $value): bool {}
2038 function socket_setopt(Socket $socket, int $level, int $option, $value): bool {}
2046 function socket_shutdown(Socket $socket, int $mode = 2): bool {}
2050 function socket_atmark(Socket $socket): bool {}
2053 function socket_last_error(?Socket $socket = null): int {}
2055 function socket_clear_error(?Socket $socket = null): void {}
2058 function socket_import_stream($stream): Socket|false {}
2061 function socket_export_stream(Socket $socket) {}
2063 function socket_sendmsg(Socket $socket, array $message, int $flags = 0): int|false {}
2065 function socket_recvmsg(Socket $socket, array &$message, int $flags = 0): int|false {}
2075 function socket_addrinfo_connect(AddressInfo $address): Socket|false {}
2077 function socket_addrinfo_bind(AddressInfo $address): Socket|false {}
2086 function socket_wsaprotocol_info_export(Socket $socket, int $process_id): string|false {}
2088 function socket_wsaprotocol_info_import(string $info_id): Socket|false {}