O
O
Outoverlay2015-07-11 23:49:16
PHP
Outoverlay, 2015-07-11 23:49:16

How to use Websocet on openserver?

Rummaged everything. But he didn't find it. I have a local server - "Open Server" And I can't create Websocet on php (Beats errors) Namely, in this part $bind = socket_bind($socket, '127.0.0.1', 80);
And everything seems to be correct. Checked $_SERVER['REMOTE_ADDR'] and $_SERVER['SERVER_PORT'] And the socket was also created correctly $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
And the module is connected php_sockets.dll

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
D', 2015-07-12
@Denormalization

>$bind = socket_bind($socket, '127.0.0.1', 80);
Ie bind port 80 when the web server is running?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question