peacemaker Expert Licensed User Longtime User Dec 29, 2019 #1 HI, All Maybe anyone tried to use WebSocket peer-to-peer data exchange between B4A apps with a PHP server in the middle ? Please, suggest any ready-to-use PHP code that is compatible with WebSocket Client Library
HI, All Maybe anyone tried to use WebSocket peer-to-peer data exchange between B4A apps with a PHP server in the middle ? Please, suggest any ready-to-use PHP code that is compatible with WebSocket Client Library
DonManfred Expert Licensed User Longtime User Dec 29, 2019 #2 peacemaker said: Maybe anyone tried to use WebSocket peer-to-peer data exchange between B4A apps with a PHP server in the middle ? Click to expand... I don´t think that PHP is suitable as a replacement. PHP is not designed to run as a server. It is possible to run php as a server but only on your own server. Not on any hosting plans i fear... Upvote 0
peacemaker said: Maybe anyone tried to use WebSocket peer-to-peer data exchange between B4A apps with a PHP server in the middle ? Click to expand... I don´t think that PHP is suitable as a replacement. PHP is not designed to run as a server. It is possible to run php as a server but only on your own server. Not on any hosting plans i fear...
peacemaker Expert Licensed User Longtime User Dec 29, 2019 #3 Yes, but there are solutions. Question is who tried practically with B4A, and which PHP solution exactly. I see that B4J server is standard server for us, but ... most low-end hostings are PHP, so needs for it. Upvote 0
Yes, but there are solutions. Question is who tried practically with B4A, and which PHP solution exactly. I see that B4J server is standard server for us, but ... most low-end hostings are PHP, so needs for it.
DonManfred Expert Licensed User Longtime User Dec 29, 2019 #4 peacemaker said: but there are solutions Click to expand... Where? Upvote 0
peacemaker Expert Licensed User Longtime User Dec 29, 2019 #5 google("websocket php server") Upvote 0
DonManfred Expert Licensed User Longtime User Dec 29, 2019 #6 Do you own your own SERVER where you can run PHP in servermode? Upvote 0
peacemaker Expert Licensed User Longtime User Dec 29, 2019 #7 Yes. And basic PHP knowledge to setup something. But what PHP-code for Websocket compatible with B4A lib is to be used... Upvote 0
Yes. And basic PHP knowledge to setup something. But what PHP-code for Websocket compatible with B4A lib is to be used...
DonManfred Expert Licensed User Longtime User Dec 29, 2019 #8 I suggest to use the google search you recenctly suggested. google("websocket php server") I did find tutorials on how it works, did you tried them? I can´t really help on this as i never used php to setup a server. Upvote 0
I suggest to use the google search you recenctly suggested. google("websocket php server") I did find tutorials on how it works, did you tried them? I can´t really help on this as i never used php to setup a server.
Erel B4X founder Staff member Licensed User Longtime User Dec 29, 2019 #9 peacemaker said: I see that B4J server is standard server for us, but ... most low-end hostings are PHP, so needs for it. Click to expand... It will difficult to implement it with PHP. You can find very low cost VPS servers. Upvote 0
peacemaker said: I see that B4J server is standard server for us, but ... most low-end hostings are PHP, so needs for it. Click to expand... It will difficult to implement it with PHP. You can find very low cost VPS servers.