Description: 1 Create two message queues when you start the server, delete closed. Signal off, delete the message queue handler signals.
2 based on the client server data sent over to determine what kind of request, and then make the appropriate treatment according to various requests.
3 analysis accounts for process: the client to enter a user name, password, and the amount of data archived in msg, sent to the server through the message queue, to generate an account on the server side, and then written to the file account information and the processing results through the message queue is returned to the client.
4 server to complete a variety of functions with multiple processes. (vfork+ execl)
Jump to another via an executable program, to achieve a variety of business functions.
Client code:
1 selection interface provides print various functional options for customers to choose.
2 to get the client request, the message queue corresponding to the submitted data (struct msg used as
To Search:
File list (Check if you may need any files):
myATM\100000.dat
.....\100001.dat
.....\ATM.txt
.....\bank.c
.....\bank.h
.....\client.c
.....\dao.c
.....\dao.c.bak
.....\dao.h
.....\id.dat
.....\link.txt
.....\open.c
.....\server.c
.....\server.c.bak
myATM