Sockets
- Introduction
- Installing/Configuring
- Predefined Constants
- Examples
- Socket Errors
- Socket Functions
- socket_accept — Accepts a connection on a socket
- socket_bind — Binds a name to a socket
- socket_clear_error — Clears the error on the socket or the last error code
- socket_close — Closes a socket resource
- socket_cmsg_space — Calculate message buffer size
- socket_connect — Initiates a connection on a socket
- socket_create_listen — Opens a socket on port to accept connections
- socket_create_pair — Creates a pair of indistinguishable sockets and stores them in an array
- socket_create — Create a socket (endpoint for communication)
- socket_get_option — Gets socket options for the socket
- socket_getpeername — Queries the remote side of the given socket which may either result in host/port or in a Unix filesystem path, dependent on its type
- socket_getsockname — Queries the local side of the given socket which may either result in host/port or in a Unix filesystem path, dependent on its type
- socket_import_stream — Import a stream
- socket_last_error — Returns the last error on the socket
- socket_listen — Listens for a connection on a socket
- socket_read — Reads a maximum of length bytes from a socket
- socket_recv — Receives data from a connected socket
- socket_recvfrom — Receives data from a socket whether or not it is connection-oriented
- socket_recvmsg — Read a message
- socket_select — Runs the select() system call on the given arrays of sockets with a specified timeout
- socket_send — Sends data to a connected socket
- socket_sendmsg — Send a message
- socket_sendto — Sends a message to a socket, whether it is connected or not
- socket_set_block — Sets blocking mode on a socket resource
- socket_set_nonblock — Sets nonblocking mode for file descriptor fd
- socket_set_option — Sets socket options for the socket
- socket_shutdown — Shuts down a socket for receiving, sending, or both
- socket_strerror — Return a string describing a socket error
- socket_write — Write to a socket
- Constant hash database
- Клиентская библиотека работы с URL
- Event
- File Alteration Monitor
- FTP
- Gearman
- Net Gopher
- Gupnp
- Hyperwave API
- Облегчённый протокол доступа к каталогам (LDAP)
- Memcache
- Memcached
- mqseries
- Network
- RRDtool
- Simple Asynchronous Messaging
- SNMP
- Сокеты
- Secure Shell2
- Stomp Client
- Support Vector Machine
- Subversion
- TCP Wrappers
- Varnish
- YAZ
- YP/NIS
- ZMQ
Коментарии
Boa noite,
Meu nome é Gabriel, tenho 17 anos e estou começando minha jornada como desenvolvedor PHP. Sou apaixonado por essa linguagem e tenho me dedicado bastante a ela. No entanto, gostaria de sugerir uma melhoria: seria ótimo se o visual da documentação pudesse ser atualizado, pois o design atual parece um pouco ultrapassado.
Como brasileiro, posso dizer que muitos desenvolvedores por aqui também são grandes fãs do PHP e apreciariam muito uma atualização visual nas docs.
Agradeço pela atenção e envio um abraço!