Garzilla04
Limp Gawd
- Joined
- Oct 26, 2003
- Messages
- 226
I am in the process of writing a C++ program for my distributed systems class. Im running into a bit of trouble though. Our basic task is to have two separate programs that communicate between eachother (Client and Server).
What Im doing is developing a Netflix-ish ordering system. Basically our client side of the program will offer three options:
1. View top 10 movies
2. Place Order
3. Exit
Option one being a simple output of the Top 10 movies for the customer to see. Thats all set and is coded into our client side of the program. Option 2 is where it gets hard. We want it to simple recognize a number key entry 1-0 with each of the numbers representing a movie.
We want the request to be received by our server, which will be waiting for an incoming request. All our server end has to do is simply respond back to the client with an "Order recevied" message along with a random Order number.
My question to [H] is..how can I get the client to send out to the server program, have the server recognize the number entry (1-0) and simply send back to the client side a message along these lines "Thank you for ordering *INSERT MOVIE TITLE HERE*, here is your tracking number *INSERT RANDOM NUMBER*.
If anyone that can provide me with some working code or some advice on how to do it...I would love you forever. Its possible there could be some money involved via paypal for some elaborate help. I can provide all code we have so far.
I need help asap on this..as its due tomorrow night
Contact me on AIM: Matix32104
What Im doing is developing a Netflix-ish ordering system. Basically our client side of the program will offer three options:
1. View top 10 movies
2. Place Order
3. Exit
Option one being a simple output of the Top 10 movies for the customer to see. Thats all set and is coded into our client side of the program. Option 2 is where it gets hard. We want it to simple recognize a number key entry 1-0 with each of the numbers representing a movie.
We want the request to be received by our server, which will be waiting for an incoming request. All our server end has to do is simply respond back to the client with an "Order recevied" message along with a random Order number.
My question to [H] is..how can I get the client to send out to the server program, have the server recognize the number entry (1-0) and simply send back to the client side a message along these lines "Thank you for ordering *INSERT MOVIE TITLE HERE*, here is your tracking number *INSERT RANDOM NUMBER*.
If anyone that can provide me with some working code or some advice on how to do it...I would love you forever. Its possible there could be some money involved via paypal for some elaborate help. I can provide all code we have so far.
I need help asap on this..as its due tomorrow night
Contact me on AIM: Matix32104