How to link two computers so that when an action is taken on one it saves on the othe

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kinghay
    New Member
    • Sep 2012
    • 1

    How to link two computers so that when an action is taken on one it saves on the othe

    Hi, i need help in writing this program. i have written a program that is can be used for voting, it saves the results in the registry and can be retrieved later when the results are called for. what i want to add now is how to link two or more computers so that on any of the two computers that the voting would be done, the results would be saved on one computer. how do i write the code to link the two. i'll really appreciate it if i could have a response to this.
  • FrozenSano
    New Member
    • Sep 2012
    • 2

    #2
    Good Day kinghay!

    In order for you to create such program you need the following:

    1) Server - which will act as the main computer collecting different votes from different computer.

    2) Client/s - which will act as computer/s taking votes.

    Then adjust your code and include their IP Addresses so that every computers are linked. :)

    Hope this helps.

    -Sherwin

    Comment

    • IraComm
      New Member
      • Oct 2012
      • 14

      #3
      You would need to create connections using the Winsock.OCX.
      ON the Server side it would be set to "Listen" and when another computer attempts to conntect the server would create another winsock object and alow it to "Accept" the connection.

      Of course the is a crude instruction and would take some time to write the solution.

      Let us know what you have so far as to winsocks or your Idea on how one computer needs to access another.

      It could also be done with "Shard" drives in which the server machine only need access files on the remote computers to gather information.

      Comment

      Working...