Edit report at https://bugs.php.net/bug.php?id=62732&edit=1
ID: 62732
Comment by: k at webnfo dot com
Reported by: k at webnfo dot com
Summary: [Feature Request]Built-in TCP server
Status: Open
Type: Feature/Change Request
Package: Built-in web server
PHP Version: 5.4.5
Block user comment: N
Private report: N
New Comment:
I meant commandline stuff compared to the newly added php built-in webserer.
Previous Comments:
------------------------------------------------------------------------
[2012-08-05 20:11:51] ajf at ajf dot me
Do you mean a commandline thing like -S?
Or do you mean something like this?
tcp_server("localhost", 9001, function ($addr, $sock) {
// do stuff here
});
------------------------------------------------------------------------
[2012-08-03 03:32:34] k at webnfo dot com
Description:
------------
TCP server can handle much more protocols not only on http. Like smtp, etc.
Just accept the tcp message and invoke php to handle the other parts.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62732&edit=1