Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетил 18891 программист и 1635 роботов. Сейчас ищут 2093 программиста ...
Net_Server::create
Вернуться к: Net_Server
Net_Server::create
Net_Server::create() – create a new server
Synopsis
require_once 'Server.php';
void& Net_Server::create ( string $type , string $host , integer $port )
Currently two types of servers are supported:
'sequential', creates a server where one process handles all request from all clients sequentially
'fork', creates a server where a new process is forked for each client that connects to the server. This only works on *NIX
Parameter
- string $type
-
type of the server
- string $host
-
hostname
- integer $port
-
port
Throws
throws no exceptions thrown
static
Note
This function can not be called statically.
Вернуться к: Net_Server