Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Edgar_Herrera, VoroneTZ, Akow), 973 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Web Sockets [Re: Feindbild] #434682
12/23/13 23:08
12/23/13 23:08
Joined: Jul 2013
Posts: 158
F
Feindbild Offline OP
Member
Feindbild  Offline OP
Member
F

Joined: Jul 2013
Posts: 158
After working... ehm, playing with this for nearly two weeks now, I realized I have no idea what I am doing. Directly integrating this into Lite-C seems to be impossible (at least for me), I can't even get it to compile because of syntax errors.
So, what alternatives do I have? Basically my goal is to get realtime input from a mobile phone into Acknex, I guess websockets would be the only way to go.

Does anyone have a better idea? Or at least a different? Or is somehow able to get this to work for me? frown

Re: Web Sockets [Re: Feindbild] #434683
12/23/13 23:18
12/23/13 23:18
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Well is php an option for you?
Simply use the browser of your phone and use php and a sql databse?
Or is is a way too slow for you?

Re: Web Sockets [Re: Ch40zzC0d3r] #434685
12/24/13 01:24
12/24/13 01:24
Joined: Aug 2002
Posts: 3,258
Mainz
oliver2s Offline
Expert
oliver2s  Offline
Expert

Joined: Aug 2002
Posts: 3,258
Mainz
I've done something like this. Wrote an android app that sends UDP data real time to 3DGS. But this was only in local home network. I've done this with socket_... instructions, but I really don't know how to extend this to work also over Internet.

Re: Web Sockets [Re: oliver2s] #434703
12/24/13 13:27
12/24/13 13:27
Joined: Jul 2013
Posts: 158
F
Feindbild Offline OP
Member
Feindbild  Offline OP
Member
F

Joined: Jul 2013
Posts: 158
I want to use the browser, that's why I need those websockets smirk simple GET would be too slow because of the effing huge overhead. I don't need perfect precision, bout a latency of <=200ms would be superb.
Coding an app and doing stuff via UDP would be another possibility, though I don't really want to further complicate the project itself... Would be cool if you could share your code though, oliver! laugh

Re: Web Sockets [Re: Feindbild] #434714
12/24/13 18:04
12/24/13 18:04
Joined: Jul 2013
Posts: 158
F
Feindbild Offline OP
Member
Feindbild  Offline OP
Member
F

Joined: Jul 2013
Posts: 158
I made it!
The solution is ANet's TCP Server functionality combined with the websockify wrapper!!!

Re: Web Sockets [Re: Feindbild] #434720
12/24/13 19:25
12/24/13 19:25
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
But it's like layering a layer over a layer that is already layering another layer.


3333333333
Re: Web Sockets [Re: Quad] #434722
12/24/13 20:59
12/24/13 20:59
Joined: Jul 2013
Posts: 158
F
Feindbild Offline OP
Member
Feindbild  Offline OP
Member
F

Joined: Jul 2013
Posts: 158
Originally Posted By: Quad
But it's like layering a layer over a layer that is already layering another layer.


yeah, but it works grin
I already see why this is not a perfect solution... but it works, man! let me be happy grin

Page 2 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1