stephenvs
08-24-2005, 11:08 PM
The attached file explains the data communication protocol between server and client (Custom ate protocol). By using socket, client communicates with server. i thought to develop the client interface in php, i already have one sample in vc++ working condition, the flow is like this (Connect to server -> Send authentication -> transfer data -> close), How to deploy in php, pls give some help flow tips, protocol reference attached file "Protocol.txt"
Ryan F
08-24-2005, 11:40 PM
PHP would be my last choice for building a socket server. Why not stick with C++?
Ryan
innova
08-25-2005, 11:59 PM
Perhaps because its so damn easy to do in php?
Seriously, knock together a quick prototype in php for both client and server!
Anyway, I do not know a lot about low-level socket stuff, but php would be well suited for a socket client (less so for a server than C/C+/whatever). You should be able to do fsockopen to it to communicate. Or perhaps you might look into the streams in php 5.