wqmeng

Results 20 comments of wqmeng

I also get this error, can not install the example module. Any advice? Thanks

Hello, Any plan to release a new version which may official support PHP7? I see that many forkers have modified the codes to support PHP7 themselves. Gr8 Job! Thank you.

Hello, Any update of IdWebSocketSimpleClient ? And and process of the websocket client of Indy? Thanks

@arvanus Hello, When I use IdWebSocketSimpleClient, and connect to a ws:// URI, sometimes I get a warning message of "duplicates not allowed". Do you know what's the matter? Thank you.

@arvanus Mostly, it will happen at the first time the websocket connect to the URI. Then I close, and do connect again, it will not happen again. But if I...

@arvanus Hello, no, I use https://github.com/swoole/swoole-src as a PHP websocket server. Not sure if it reuse the socket. I use IdWebSocketSimpleClient on a Android phone.

Yes, I connect directly. And I do not use SSL in my case. Just ws://

@arvanus Hello, I am use this in a wss:// case in Android with Lib from OpenSSL, it is very odd that the text send out to server will always lost...

ssl对象 最好是在客户open连接的时候,根据AUrl来设定,如果没有 wss 或者 https 的时候,就不需要创建。已经创建的,使用完成后,可能需要存放入一个队列里面,反复使用。

如果这样设计,那么使用ws的时候,调用父类的方法,如果应用环境里面没有检索到 ssl 库, 就不创建,因为抛出异常会终止 ws 和 wss 的创建过程。 或者这样 ``` procedure TCrossWebSocketMgr.CreateHttpClis; begin //inherited; try CreateHttpCli(HTTP); CreateHttpCli(WS); except raise ... end try CreateHttpCli(HTTPS); CreateHttpCli(WSS); except raise ... end end; ```...