(PHP 4 >= 4.1.0, PHP 5, PHP 7)
Create a socket (endpoint for communication)
resource socket_create ( int $domain, int $type, int $protocol )
Creates and returns a socket resource, also referred to as an endpoint of communication. A typical network connection is made up of 2 sockets, one performing the role of the client, and another performing the role of the server.
Parameters:
do