473,385 Members | 1,661 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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.
Sep 26 '12 #1
2 1364
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
Sep 27 '12 #2
IraComm
14
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.
Oct 30 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: System Attendant | last post by:
ScanMail for Microsoft Exchange has blocked a file attachment(s). Place = Tortorella, Joe Sender = python-list@python.org Subject = Re: Approved Delivery Time = August 25, 2003 (Monday)...
5
by: sriram | last post by:
I have the following: class BSA { ... ... ... ... public: enum VRGAttrId {
2
by: metasilk | last post by:
Situation: Many links with hrefs & some have ids in the HTML. External javascript file. Wanted: When the mouse is hovering over a link with a certain id, do something (such as display one...
1
by: Martin Lucas-Smith | last post by:
Tricky one this... Basically I have a link style: a {border: 1px solid gray} but I don't want the border added when a link is applied to an image, i.e. <a href="#"><img src="foo.jpg"></a> ...
1
by: Julien | last post by:
Hello I created a VB.Net program that retrieves particular computers names from the Active Directory and that then logs off all those machines every night (via a Scheduled Task) using the...
1
by: AC | last post by:
Hi, I have the following code for my form, which is supposed to update a grade integer field and a text area, but when I click the submit button, instead of sending the user to the page...
3
by: geoplab | last post by:
I have this error message when compiling mx_init.c by linking libxml library as follow: gcc `xml2-config --cflags` -c mx_init.c `xml2-config --libs` -g -Wall gcc: -lxml2: linker input file...
2
by: jonas1000 | last post by:
Hello! I've been looking for some code to help me to do this. My site is loading every html file in a div using a javascript code like this one: http://www.thescripts.com/forum/post2614087-3.html...
4
by: farhanm84 | last post by:
I have a requirement to display the link in colum format in IE browser. The link text is associated with an image (double arrow). Since the text of the link is large enough to set in one of the...
1
by: Larsr | last post by:
Hi, in building a navigation system, I would like to use a system where I have, say, four links which naturally are different pages. Initially, all links are, say, blue. When clicking on the first...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.