Home > Back-end >  Delphi approach for help
Delphi approach for help

Time:09-30

Do a small random examination system
Two computers, one to the examinee randomly 50 problem of yourself, a used to judge according to the examinee random topic, search out answers,
Now want to realize the examinee after their operation randomly selected topic, the judges computer automatic search out answers

How to realize the examinee to extract topic application, triggering the judges the application on the computer

CodePudding user response:

Computers use the same database, 2

CodePudding user response:

You mean use timer is a database to determine whether the data refresh
?

CodePudding user response:

Shared database, the examinee after end question, sign writing database, the judges read regularly in the database symbol

The examinee to end socket can also be used to send content to the judges

CodePudding user response:

refer to the second floor wenjianyao response:
you mean use timer is a database to determine whether the data refresh
?


Database is passive, need active brush
TCP/udp communication can be active, but listen to network, connection, LAN, 2 sets of machine, so no trouble

CodePudding user response:

With method above is quite good, UDP instability, with TCP, best trigger message, read the database again

CodePudding user response:

Let the examinee of the access panel of judges that one subject,

CodePudding user response:

Use the same database, after the mark on this topic's record, another computer to know.

CodePudding user response:

refer to 7th floor wangen12345 response:
to use the same database, smoke after the tag on this topic's record, another computer to know ah


Another computer need to read the tag to know whether is pumped in

CodePudding user response:

In a database or server, is one of the more real-time,,, or to choose when to trigger the first panel of judges, according to the trigger's own display,,,

CodePudding user response:

1. The judge here can polling the database, the examinee answer will show...
Selected topic markers, after an examinee question answer complete, do the answer tag,

2. Can use TCP message way, after the examinee question, sending a message to tell the judges, their smoking for what topic, then the answer is submitted, again hair message notification is completed the answer ~
  • Related