Net_Server::create

Net_Server::create()

Net_Server::create() -- create a new server

Description

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

static

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.