(^o^) Cyber Coffee Application (^o^)
Posted: Thu Jan 20, 2005 12:24 am
Hi! I'm developing a Cyber Coffee application, the application must have a listing of the computers the cyber coffee is running and it should be able to "block" a client PC from a server PC.
I did two application in C++ Builder 5 (a client and a server application) I used the socket components and it works just fine, in my server app I use the ServerSocket component and in the client app I use the ClientSocket component, my server application runs an begans listening for clients and when the client apps get activated the socket connection is open, so I can have n client app requesting connections to one server app which is constantly listening for clients. Is this the best practice to do so?
When I use the Socket componets I set port property to 1024 (I do this because it was what the borland chat example did) but I'm not sure why, does it have to be this port number? what's the diference if I use other port?
Another feature of the system I'm developing is that I need to control the client PC all the time, so I can't let the client application to shut down! (or having a customer shutting it down) I want the client PC to run the client app in background all the time (even if the client PC is resetted), so the server app can be used to lock and unlock the client app. Is this done using services right?
How can I lock (disable) the keyboard and mouse events on the client PC, so an user
is not able to hit "crtl + alt + del" or "alt + f4" to shut down the client application / service??
Finally although I did both the client and server applications using C++ builder (for testing and learning about sockets purposes), the server application should run from a web page for this I'm using PHP, is there a way to have the client application/service developed in builder to comunicate to a web page using PHP??
Even better can I do the whole system using web format? (both client and server in PHP)
What if I want the server/clients to run diferent OS (Windows/Linux/Mac)?
Thanks in Advance!
I did two application in C++ Builder 5 (a client and a server application) I used the socket components and it works just fine, in my server app I use the ServerSocket component and in the client app I use the ClientSocket component, my server application runs an begans listening for clients and when the client apps get activated the socket connection is open, so I can have n client app requesting connections to one server app which is constantly listening for clients. Is this the best practice to do so?
When I use the Socket componets I set port property to 1024 (I do this because it was what the borland chat example did) but I'm not sure why, does it have to be this port number? what's the diference if I use other port?
Another feature of the system I'm developing is that I need to control the client PC all the time, so I can't let the client application to shut down! (or having a customer shutting it down) I want the client PC to run the client app in background all the time (even if the client PC is resetted), so the server app can be used to lock and unlock the client app. Is this done using services right?
How can I lock (disable) the keyboard and mouse events on the client PC, so an user
is not able to hit "crtl + alt + del" or "alt + f4" to shut down the client application / service??
Finally although I did both the client and server applications using C++ builder (for testing and learning about sockets purposes), the server application should run from a web page for this I'm using PHP, is there a way to have the client application/service developed in builder to comunicate to a web page using PHP??
Even better can I do the whole system using web format? (both client and server in PHP)
What if I want the server/clients to run diferent OS (Windows/Linux/Mac)?
Thanks in Advance!