Download the PHP package originphp/socket without Composer
On this page you can find all versions of the php package originphp/socket. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package socket
Socket
The Socket
class is a lightweight wrapper which makes working with sockets easy.
Installation
To install this package
Using Sockets
You can can also enable encryption using ssl
or tls
, you can also specify versions e.g. sslv2
, sslv23
, sslv3
, tlsv1
, tlsv11
and tlsv12
. See the PHP manual for more information on the encryption methods.
To enable encryption
To disable encryption
Host/IP Address
To get the IP address of the connection
To get the hostname
Stream Contexts
When creating a Socket you can also provide context
options that will be used to create a stream context.
All versions of socket with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.3.0
The package originphp/socket contains the following files
Loading the files please wait ....