Paradox Community

Items in pnews.paradox-dos

Subject:Re: qbe to sql
Date:Thu, 26 Oct 2017 22:51:54 +1000
From:Bernie van't Hof <berniev@bje.com.au>
Newsgroups:pnews.paradox-dos
localhost in hosts file?

> Perhaps I missed a step, but the browser (chrome, in my case) cannot hit 
> the ws:// address, and http:// requests are rejected.  I deployed a 
> websocket client in chrome ("Simple Websocket Client") and hit 
> ws://localhost:8001/public_html/index.php.
> 
> Stack trace:
> PHP Warning:  socket_create(): Unable to create socket [10047]: An 
> address incompatible with the requested protocol was used.
> in C:\Users\Larry\git\pdox\sockets\Socket_AF_UNIX.php on line 64
> PHP Stack trace:
> PHP   1. {main}() C:\Users\Larry\git\pdox\wshost.php:0
> PHP   2. websocket\WsServer->Run() C:\Users\Larry\git\pdox\wshost.php:28
> PHP   3. websocket\WsConnection->OnConnect() 
> C:\Users\Larry\git\pdox\websocket\Server.php:174
> PHP   4. websocket\PxStream->Start() 
> C:\Users\Larry\git\pdox\websocket\WsConnection.php:117
> PHP   5. websocket\PxStream->StartStream() 
> C:\Users\Larry\git\pdox\websocket\PxStream.php:58
> PHP   6. sockets\Socket_AF_UNIX->Setup() 
> C:\Users\Larry\git\pdox\websocket\PxStream.php:101
> PHP   7. socket_create() 
> C:\Users\Larry\git\pdox\sockets\Socket_AF_UNIX.php:64
> 
> The error is a windows socket error, which implies that the server won't 
> accept an IPv6 address.  This after much googling.  I assume a 
> consequence of AF_UNIX?  I tried windows 7, 10, and XP, and all gave the 
> same result.  I also tried fiddling with the socket_open call, just to 
> see what would happen if I used AF_INET or AF_INET6 - just different 
> errors.
>


Copyright © 2004 thedbcommunity.com