|
-
Oct 18th, 2014, 09:31 AM
#1
Thread Starter
Lively Member
Implementing "LAN-wide Variables" with a broadcast? Other approches?
Good day,
this is not a truely VB6-related question (although VB6 is the language used to solve this problem); it's more a general question about the approach to take. Maybe someone has had the same problem earlier and wants to share his/her thoughts.
My VB6 application runs on several PCs in my LAN. Now the need arises, that any of these PCs must have read/write-access to the content of a few variables.
This is the problem: how do I realize such variables with scope LAN
As time goes on, some additional PCs start the application, others stop to use it. Sometimes no PC at all is using the application, and sometimes all PCs are powered down. Sadly, there is no PC which can be said to have a master status, so storing the content of the variables in a dedicated place is no option (it simply might not be available).
Also using the cloud is no option, because the data must not leave the LAN.
Is sending an UDP broadcast to 192.168.255.255 a possibility, as soon as a PC wants to alter the content of a variable? Can this even be done with VB's Winsock control?
Has anyone come up with a better solution?
Thanks very much in advance!
Donar
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|