Results 1 to 1 of 1
- 06-17-2012, 04:10 PM #1Member
- Join Date
- Jun 2011
- Rep Power
How to send & receive on home wifi network
I have a java program on PC#1 doing external video motion detection and writing clips of activity to disk. It also updates an index file on the disk which is "shared" through Windows XP on the home network.
PC#2 runs a java program which accesses the shared file (index) on PC#1 every few seconds looking for changes so it can display the last few video clips on another monitor (aka TV). The polling needs to be quite short (2 or 3 seconds) as the images must be visible from PC#2 in a short time frame.
The type of activity outside the house which triggers the VMD is infrequent so PC#2's polling seems extremely inefficient. I would like to change it so that PC#1 informs PC#2 when there is an update instead of PC#2 constantly looking for changes. I would let PC#2 go into a low power idle loop (or even hibernate if wake-up works with Wi-Fi) waiting on an event to be sent from PC#1.
FYI PC#2 is an ASUS B202 with on-board Wi-Fi.
Any ideas on the best way of achieving this?
- By dking in forum NetworkingReplies: 1Last Post: 06-21-2011, 11:53 AM
- By ashrafraheem in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 09-27-2009, 02:16 AM
- By sri_reddy523 in forum NetworkingReplies: 11Last Post: 03-03-2009, 09:22 AM
- By firstname.lastname@example.org in forum NetworkingReplies: 0Last Post: 12-02-2008, 10:55 AM