How can 2 or more instances of the same program to communicate in local network?

Posted by user1981437 on Super User See other posts from Super User or by user1981437
Published on 2013-10-23T23:28:37Z Indexed on 2013/10/24 10:01 UTC
Read the original article Hit count: 149

Filed under:
|
|
|
|

I want to create program which will be in use for few computers connected in local network. Basically the program aim is to keep track of all tables in a bar ( lets say ), which are reserved.

When some user book a table as reserved the program should broadcast the table number to all other Pc's and mark the table as reserved. Since all computers use the same program, how is possible to create communication between all of them ?

Should i use sockets to achieve this? If it matters, all of the computers have installed Linux OS,and the app will be developed in ruby,perl or php.

Thank you.

© Super User or respective owner

Related posts about networking

Related posts about php