Click here to Skip to main content
15,893,904 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to develop an elearning web application that is going to have some kind of white board.Is there a way of multicasting mouse movement i.e when the lecture writes on the "white board " these writings are visible to all other clients .I hope this is clear and that this is the right place to ask this.
Posted
Updated 28-Dec-09 0:15am
v2

Do not do any "polling" like the other poster said to you. It's completely wrong.

You need to write a client server program and verify that the local router supports multicasting and is multicasting enabled.

Do this from your server program:

Create a multicasting group from within your server application (a predecided IP, amongst the available multicasting IP slots). Now the server application simply sends packets to this IP address continuously, as and when required.

Do this from your client program:


Join the said multicasting group and listen on the preagreed port. All the peers that have joined the group will be automatically notified by the router with the packets sent to the multicasting group.

What I described would apply for local level (LAN). For taking this on the web, you'll need to be connected to the MBone[^] first and then proceed from there. (Explaining the architecture of MBone or Multicasting itself is out of scope of this thread).

Important: If you have further queries or doubts, click on the "New Message" at the bottom of this page to provide more clarification.
 
Share this answer
 
v6
I think I would set up a client app that polled a webservice every so often.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900