How to receive TCP data (not HTTP) via PHP on WAMP/LAMP? -


i'm playing around gps trackers , send hex server via tcp. i've setup lamp server , process , store data trackers mysql.

i've got tons of experience doing http web applications have 0 experience playing w/ tcp sockets , processing data directly , not via http, , dont know if that's possible.

1) i've read around , found support tcp , stuff question is, can php alone process tcp data? kinda thought php on top of apache http only.

2) also, if php support direct tcp processing (or guess should listening), "normally" supported shared hosts? or have request such feature?

3) can recommend open-source package of sort can pretty take care of receiving , storing raw data in mysql? need data mysql , can magic on via php after.

ps need tcp way? can change port device sending to, , make port 80. way apache receive , perhaps can have index.php file processing raw data (? )

hoping find guidance , leads me started on right path. :)

regards

i think looking this:

http://socketo.me/docs/hello-world


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -