stream_socket_server

PHP 5, PHP 7, PHP 8
stream_socket_server - Create an Internet or Unix domain server socket
Manual
Code Examples

Example #1 Using TCP server sockets

PHP Version:

Example #2 Using UDP server sockets

PHP Version:


Function stream_socket_server:

Streams Functions

Most used PHP functions